Title: [222212] trunk/Source/WebKit
- Revision
- 222212
- Author
- [email protected]
- Date
- 2017-09-19 10:45:06 -0700 (Tue, 19 Sep 2017)
Log Message
Expose WKPageRef as a private property on WKWebView on Mac
https://bugs.webkit.org/show_bug.cgi?id=177022
<rdar://problem/34342762>
Reviewed by Andy Estes.
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _pageRefForTransitionToWKWebView]):
* UIProcess/API/Cocoa/WKWebViewPrivate.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (222211 => 222212)
--- trunk/Source/WebKit/ChangeLog 2017-09-19 17:41:42 UTC (rev 222211)
+++ trunk/Source/WebKit/ChangeLog 2017-09-19 17:45:06 UTC (rev 222212)
@@ -1,5 +1,17 @@
2017-09-19 Alex Christensen <[email protected]>
+ Expose WKPageRef as a private property on WKWebView on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=177022
+ <rdar://problem/34342762>
+
+ Reviewed by Andy Estes.
+
+ * UIProcess/API/Cocoa/WKWebView.mm:
+ (-[WKWebView _pageRefForTransitionToWKWebView]):
+ * UIProcess/API/Cocoa/WKWebViewPrivate.h:
+
+2017-09-19 Alex Christensen <[email protected]>
+
Make _WKProcessPoolConfiguration.allowsCellularAccess actually work on iOS
https://bugs.webkit.org/show_bug.cgi?id=177124
Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm (222211 => 222212)
--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm 2017-09-19 17:41:42 UTC (rev 222211)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm 2017-09-19 17:45:06 UTC (rev 222212)
@@ -5653,6 +5653,11 @@
#endif // PLATFORM(IOS)
#if PLATFORM(MAC)
+- (WKPageRef)_pageRefForTransitionToWKWebView
+{
+ return toAPI(_page.get());
+}
+
- (BOOL)_hasActiveVideoForControlsManager
{
return _page && _page->hasActiveVideoForControlsManager();
Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h (222211 => 222212)
--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h 2017-09-19 17:41:42 UTC (rev 222211)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h 2017-09-19 17:45:06 UTC (rev 222212)
@@ -67,6 +67,8 @@
_WKDragInteractionPolicyAlwaysDisable
} WK_API_AVAILABLE(ios(11.0));
+#else
+#import <WebKit/WKBase.h>
#endif
#if !TARGET_OS_IPHONE
@@ -386,6 +388,7 @@
#endif // TARGET_OS_IPHONE
#if !TARGET_OS_IPHONE
+@property (nonatomic, readonly) WKPageRef _pageRefForTransitionToWKWebView WK_API_AVAILABLE(macosx(WK_MAC_TBA));
@property (nonatomic, readonly) BOOL _hasActiveVideoForControlsManager WK_API_AVAILABLE(macosx(10.12));
- (void)_requestControlledElementID WK_API_AVAILABLE(macosx(10.12.3));
- (void)_handleControlledElementIDResponse:(NSString *)identifier WK_API_AVAILABLE(macosx(10.12.3));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes