Title: [214264] trunk/Source/WebKit2
Revision
214264
Author
wenson_hs...@apple.com
Date
2017-03-22 11:04:19 -0700 (Wed, 22 Mar 2017)

Log Message

[WK2] Add SPI to notify clients when data interaction is beginning or ending
https://bugs.webkit.org/show_bug.cgi?id=169952
<rdar://problem/31187804>

Reviewed by Beth Dakin.

Adds two new UI delegate SPI hooks.

* UIProcess/API/Cocoa/WKUIDelegatePrivate.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (214263 => 214264)


--- trunk/Source/WebKit2/ChangeLog	2017-03-22 18:02:31 UTC (rev 214263)
+++ trunk/Source/WebKit2/ChangeLog	2017-03-22 18:04:19 UTC (rev 214264)
@@ -1,3 +1,15 @@
+2017-03-22  Wenson Hsieh  <wenson_hs...@apple.com>
+
+        [WK2] Add SPI to notify clients when data interaction is beginning or ending
+        https://bugs.webkit.org/show_bug.cgi?id=169952
+        <rdar://problem/31187804>
+
+        Reviewed by Beth Dakin.
+
+        Adds two new UI delegate SPI hooks.
+
+        * UIProcess/API/Cocoa/WKUIDelegatePrivate.h:
+
 2017-03-21  Sergio Villar Senin  <svil...@igalia.com>
 
         [Soup] "Only from websites I visit" cookie policy is broken

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUIDelegatePrivate.h (214263 => 214264)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUIDelegatePrivate.h	2017-03-22 18:02:31 UTC (rev 214263)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUIDelegatePrivate.h	2017-03-22 18:04:19 UTC (rev 214264)
@@ -89,6 +89,8 @@
 - (NSURL *)_webView:(WKWebView *)webView alternateURLFromImage:(UIImage *)image userInfo:(NSDictionary **)userInfo WK_API_AVAILABLE(ios(WK_IOS_TBA));
 - (NSArray<UIItemProvider *> *)_webView:(WKWebView *)webView adjustedDataInteractionItemProviders:(NSArray<UIItemProvider *> *)originalItemProviders WK_API_AVAILABLE(ios(WK_IOS_TBA));
 - (BOOL)_webView:(WKWebView *)webView performDataInteractionOperationWithItemProviders:(NSArray<UIItemProvider *> *)itemProviders WK_API_AVAILABLE(ios(WK_IOS_TBA));
+- (void)_webView:(WKWebView *)webView dataInteraction:(id)interaction sessionWillBegin:(id)session WK_API_AVAILABLE(ios(WK_IOS_TBA));
+- (void)_webView:(WKWebView *)webView dataInteraction:(id)interaction session:(id)session didEndWithOperation:(NSUInteger)operation WK_API_AVAILABLE(ios(WK_IOS_TBA));
 #else
 - (NSMenu *)_webView:(WKWebView *)webView contextMenu:(NSMenu *)menu forElement:(_WKContextMenuElementInfo *)element WK_API_AVAILABLE(macosx(10.12));
 - (NSMenu *)_webView:(WKWebView *)webView contextMenu:(NSMenu *)menu forElement:(_WKContextMenuElementInfo *)element userInfo:(id <NSSecureCoding>)userInfo WK_API_AVAILABLE(macosx(10.12));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to