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>
[Cocoa] Make WKBrowsingContextController work with WKObject wrapping
......
......@@ -607,6 +607,11 @@ static void setUpPagePolicyClient(WKBrowsingContextController *browsingContext,
WKPageSetPagePolicyClient(pageRef, &policyClient);
}
- (id<WKBrowsingContextLoadDelegate>)loadDelegate
{
return _loadDelegate;
}
- (void)setLoadDelegate:(id<WKBrowsingContextLoadDelegate>)loadDelegate
{
_loadDelegate = loadDelegate;
......@@ -616,7 +621,12 @@ static void setUpPagePolicyClient(WKBrowsingContextController *browsingContext,
WKPageSetPageLoaderClient(toAPI(reinterpret_cast<WebPageProxy*>(&_page)), nullptr);;
}
-(void)setPolicyDelegate:(id<WKBrowsingContextPolicyDelegate>)policyDelegate
- (id<WKBrowsingContextPolicyDelegate>)policyDelegate
{
return _policyDelegate;
}
- (void)setPolicyDelegate:(id<WKBrowsingContextPolicyDelegate>)policyDelegate
{
_policyDelegate = policyDelegate;
if (_policyDelegate)
......
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