WebKit Bugzilla
Attachment 348034 Details for
Bug 188925
: Add WKWebView._mainFrame SPI
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-188925-20180824123554.patch (text/plain), 1.82 KB, created by
Alex Christensen
on 2018-08-24 12:35:54 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Alex Christensen
Created:
2018-08-24 12:35:54 PDT
Size:
1.82 KB
patch
obsolete
>Index: Source/WebKit/ChangeLog >=================================================================== >--- Source/WebKit/ChangeLog (revision 235327) >+++ Source/WebKit/ChangeLog (working copy) >@@ -1,3 +1,14 @@ >+2018-08-24 Alex Christensen <achristensen@webkit.org> >+ >+ Add WKWebView._mainFrame SPI >+ https://bugs.webkit.org/show_bug.cgi?id=188925 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * UIProcess/API/Cocoa/WKWebView.mm: >+ (-[WKWebView _mainFrame]): >+ * UIProcess/API/Cocoa/WKWebViewPrivate.h: >+ > 2018-08-24 Basuke Suzuki <Basuke.Suzuki@sony.com> > > [Curl] Match the interface used in NetworkDataTask and ResourceHandle. >Index: Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm >=================================================================== >--- Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm (revision 235323) >+++ Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm (working copy) >@@ -6484,6 +6484,13 @@ - (_WKInspector *)_inspector > return nil; > } > >+- (_WKFrameHandle *)_mainFrame >+{ >+ if (auto* frame = _page->mainFrame()) >+ return wrapper(API::FrameHandle::create(frame->frameID())); >+ return nil; >+} >+ > - (void)_denyNextUserMediaRequest > { > #if ENABLE(MEDIA_STREAM) >Index: Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h >=================================================================== >--- Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h (revision 235323) >+++ Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h (working copy) >@@ -470,6 +470,7 @@ typedef NS_OPTIONS(NSUInteger, _WKRectEd > - (void)_setDefersLoadingForTesting:(BOOL)defersLoading; > > @property (nonatomic, readonly) _WKInspector *_inspector WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); >+@property (nonatomic, readonly) _WKFrameHandle *_mainFrame WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); > > @end >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
bburg
:
review+
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 188925
: 348034