Title: [154699] trunk/Source/WebKit2
- Revision
- 154699
- Author
- [email protected]
- Date
- 2013-08-27 11:02:46 -0700 (Tue, 27 Aug 2013)
Log Message
[WK2][Soup] Add WebFrameNetworkingContext::webFrameLoaderClient() after r154490
https://bugs.webkit.org/show_bug.cgi?id=120353
Reviewed by Alexey Proskuryakov.
* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
* WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp:
(WebKit::WebFrameNetworkingContext::webFrameLoaderClient):
* WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (154698 => 154699)
--- trunk/Source/WebKit2/ChangeLog 2013-08-27 17:20:28 UTC (rev 154698)
+++ trunk/Source/WebKit2/ChangeLog 2013-08-27 18:02:46 UTC (rev 154699)
@@ -1,3 +1,15 @@
+2013-08-27 Csaba Osztrogonác <[email protected]>
+
+ [WK2][Soup] Add WebFrameNetworkingContext::webFrameLoaderClient() after r154490
+ https://bugs.webkit.org/show_bug.cgi?id=120353
+
+ Reviewed by Alexey Proskuryakov.
+
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ * WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp:
+ (WebKit::WebFrameNetworkingContext::webFrameLoaderClient):
+ * WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.h:
+
2013-08-26 Santosh Mahto <[email protected]>
Fixing compilation warning "unused parameter" in WebPageProxy.cpp
Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp (154698 => 154699)
--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp 2013-08-27 17:20:28 UTC (rev 154698)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp 2013-08-27 18:02:46 UTC (rev 154699)
@@ -35,6 +35,8 @@
#include "WebCookieManager.h"
#include "WebCoreArgumentCoders.h"
#include "WebErrors.h"
+#include "WebFrame.h"
+#include "WebFrameLoaderClient.h"
#include "WebFrameNetworkingContext.h"
#include "WebPage.h"
#include "WebProcess.h"
Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp (154698 => 154699)
--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp 2013-08-27 17:20:28 UTC (rev 154698)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp 2013-08-27 18:02:46 UTC (rev 154699)
@@ -76,5 +76,13 @@
return m_initiatingPageID;
}
+WebFrameLoaderClient* WebFrameNetworkingContext::webFrameLoaderClient() const
+{
+ if (!frame())
+ return 0;
+
+ return toWebFrameLoaderClient(frame()->loader().client());
}
+}
+
Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.h (154698 => 154699)
--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.h 2013-08-27 17:20:28 UTC (rev 154698)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.h 2013-08-27 18:02:46 UTC (rev 154699)
@@ -33,6 +33,7 @@
namespace WebKit {
class WebFrame;
+class WebFrameLoaderClient;
class WebFrameNetworkingContext : public WebCore::FrameNetworkingContext {
public:
@@ -44,6 +45,8 @@
static void ensurePrivateBrowsingSession();
static void destroyPrivateBrowsingSession();
+ WebFrameLoaderClient* webFrameLoaderClient() const;
+
private:
WebFrameNetworkingContext(WebFrame*);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes