Commit a329fd72 authored by weinig@apple.com's avatar weinig@apple.com
Browse files

Fix the iOS build.

* UIProcess/API/Cocoa/WKBrowsingContextController.mm:
(-[WKBrowsingContextController loadDelegate]):
(-[WKBrowsingContextController policyDelegate]):
(-[WKBrowsingContextController setPolicyDelegate:]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0e131da2
2013-11-29 Sam Weinig <sam@webkit.org>
Fix the iOS build.
* UIProcess/API/Cocoa/WKBrowsingContextController.mm:
(-[WKBrowsingContextController loadDelegate]):
(-[WKBrowsingContextController policyDelegate]):
(-[WKBrowsingContextController setPolicyDelegate:]):
2013-11-29 Sam Weinig <sam@webkit.org> 2013-11-29 Sam Weinig <sam@webkit.org>
[Cocoa] Make WKBrowsingContextController work with WKObject wrapping [Cocoa] Make WKBrowsingContextController work with WKObject wrapping
......
...@@ -607,6 +607,11 @@ static void setUpPagePolicyClient(WKBrowsingContextController *browsingContext, ...@@ -607,6 +607,11 @@ static void setUpPagePolicyClient(WKBrowsingContextController *browsingContext,
WKPageSetPagePolicyClient(pageRef, &policyClient); WKPageSetPagePolicyClient(pageRef, &policyClient);
} }
- (id<WKBrowsingContextLoadDelegate>)loadDelegate
{
return _loadDelegate;
}
- (void)setLoadDelegate:(id<WKBrowsingContextLoadDelegate>)loadDelegate - (void)setLoadDelegate:(id<WKBrowsingContextLoadDelegate>)loadDelegate
{ {
_loadDelegate = loadDelegate; _loadDelegate = loadDelegate;
...@@ -616,7 +621,12 @@ static void setUpPagePolicyClient(WKBrowsingContextController *browsingContext, ...@@ -616,7 +621,12 @@ static void setUpPagePolicyClient(WKBrowsingContextController *browsingContext,
WKPageSetPageLoaderClient(toAPI(reinterpret_cast<WebPageProxy*>(&_page)), nullptr);; WKPageSetPageLoaderClient(toAPI(reinterpret_cast<WebPageProxy*>(&_page)), nullptr);;
} }
-(void)setPolicyDelegate:(id<WKBrowsingContextPolicyDelegate>)policyDelegate - (id<WKBrowsingContextPolicyDelegate>)policyDelegate
{
return _policyDelegate;
}
- (void)setPolicyDelegate:(id<WKBrowsingContextPolicyDelegate>)policyDelegate
{ {
_policyDelegate = policyDelegate; _policyDelegate = policyDelegate;
if (_policyDelegate) if (_policyDelegate)
......
Supports Markdown
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