Add WKBrowsingContextPolicyDelegate
Created attachment 216197 [details] Patch
Comment on attachment 216197 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=216197&action=review > Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.h:46 > +@property (assign) id<WKBrowsingContextLoadDelegate> loadDelegate; > +@property (assign) id<WKBrowsingContextPolicyDelegate> policyDelegate; Space after id > Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.mm:608 > + WKActionIsMainFrameKey: WKFrameIsMainFrame(frame) ? @YES : @NO, Can just do @(WKFrameIsMainFrame(frame)) > Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.mm:624 > + WKActionIsMainFrameKey: WKFrameIsMainFrame(frame) ? @YES : @NO, Can just do @(WKFrameIsMainFrame(frame)) > Source/WebKit2/UIProcess/API/mac/WKBrowsingContextPolicyDelegate.h:36 > +extern NSString *WKActionIsMainFrameKey; // NSNumber (BOOL) > +extern NSString *WKActionNavigationTypeKey; // NSNumber (WKNavigationType) > +extern NSString *WKActionMouseButtonKey; // NSNumber (0 for left button, 1 for middle button, 2 for right button) > +extern NSString *WKActionModifierFlagsKey; // NSNumber (unsigned) > +extern NSString *WKActionURLRequestKey; // NSURLRequest > +extern NSString *WKActionURLResponseKey; // NSURLResponse > +extern NSString *WKActionFrameNameKey; // NSString These should have headerdoc like documentation.
Committed r158764: <http://trac.webkit.org/changeset/158764>