Changeset 164093 in webkit
- Timestamp:
- Feb 13, 2014, 10:03:34 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r164083 r164093 1 2014-02-13 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Add a way to get the page from a frame in the injected bundle 4 https://bugs.webkit.org/show_bug.cgi?id=128791 5 6 Reviewed by Anders Carlsson. 7 8 * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm: 9 (-[WKWebProcessPlugInFrame _browserContextController]): Added. 10 * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h: Declared 11 _browserContextController property. 12 1 13 2014-02-13 Anders Carlsson <andersca@apple.com> 2 14 -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm
r163629 r164093 32 32 #import "WKNSArray.h" 33 33 #import "WKNSURLExtras.h" 34 #import "WKWebProcessPlugInBrowserContextControllerInternal.h" 34 35 #import "WKWebProcessPlugInHitTestResultInternal.h" 35 36 #import "WKWebProcessPlugInNodeHandleInternal.h" … … 77 78 } 78 79 80 - (WKWebProcessPlugInBrowserContextController *)_browserContextController 81 { 82 return wrapper(*_frame->page()); 83 } 84 79 85 - (NSURL *)URL 80 86 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h
r163629 r164093 28 28 #if WK_API_ENABLED 29 29 30 @class WKWebProcessPlugInBrowserContextController; 31 30 32 @interface WKWebProcessPlugInFrame (WKPrivate) 31 33 32 34 + (instancetype)lookUpFrameFromHandle:(WKFrameHandle *)handle; 33 35 36 @property (nonatomic, readonly) WKWebProcessPlugInBrowserContextController *_browserContextController; 37 34 38 @end 35 39
Note:
See TracChangeset
for help on using the changeset viewer.