Commit bde98c8e authored by ossy@webkit.org's avatar ossy@webkit.org

[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:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 16476e78
2013-08-27 Csaba Osztrogonác <ossy@webkit.org>
[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 <santosh.ma@samsung.com>
Fixing compilation warning "unused parameter" in WebPageProxy.cpp
......
......@@ -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"
......
......@@ -76,5 +76,13 @@ uint64_t WebFrameNetworkingContext::initiatingPageID() const
return m_initiatingPageID;
}
WebFrameLoaderClient* WebFrameNetworkingContext::webFrameLoaderClient() const
{
if (!frame())
return 0;
return toWebFrameLoaderClient(frame()->loader().client());
}
}
......@@ -33,6 +33,7 @@
namespace WebKit {
class WebFrame;
class WebFrameLoaderClient;
class WebFrameNetworkingContext : public WebCore::FrameNetworkingContext {
public:
......@@ -44,6 +45,8 @@ public:
static void ensurePrivateBrowsingSession();
static void destroyPrivateBrowsingSession();
WebFrameLoaderClient* webFrameLoaderClient() const;
private:
WebFrameNetworkingContext(WebFrame*);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment