Title: [230439] trunk/Source/WebKit
Revision
230439
Author
wenson_hs...@apple.com
Date
2018-04-09 08:50:47 -0700 (Mon, 09 Apr 2018)

Log Message

[Extra zoom mode] Add an SPI hook for clients to opt in to focus overlay UI
https://bugs.webkit.org/show_bug.cgi?id=184370
<rdar://problem/39250494>

Reviewed by Timothy Hatcher and Andy Estes.

Add a new SPI hook for internal clients to opt in to showing the focused form control overlay. By default, the
overlay is not shown.

* UIProcess/API/Cocoa/_WKInputDelegate.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (230438 => 230439)


--- trunk/Source/WebKit/ChangeLog	2018-04-09 15:47:34 UTC (rev 230438)
+++ trunk/Source/WebKit/ChangeLog	2018-04-09 15:50:47 UTC (rev 230439)
@@ -1,3 +1,16 @@
+2018-04-06  Wenson Hsieh  <wenson_hs...@apple.com>
+
+        [Extra zoom mode] Add an SPI hook for clients to opt in to focus overlay UI
+        https://bugs.webkit.org/show_bug.cgi?id=184370
+        <rdar://problem/39250494>
+
+        Reviewed by Timothy Hatcher and Andy Estes.
+
+        Add a new SPI hook for internal clients to opt in to showing the focused form control overlay. By default, the
+        overlay is not shown.
+
+        * UIProcess/API/Cocoa/_WKInputDelegate.h:
+
 2018-04-09  Michael Catanzaro  <mcatanz...@igalia.com>
 
         [WPE] Use GNU install directories

Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/_WKInputDelegate.h (230438 => 230439)


--- trunk/Source/WebKit/UIProcess/API/Cocoa/_WKInputDelegate.h	2018-04-09 15:47:34 UTC (rev 230438)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/_WKInputDelegate.h	2018-04-09 15:50:47 UTC (rev 230439)
@@ -47,6 +47,7 @@
 - (void)_webView:(WKWebView *)webView insertTextSuggestion:(UITextSuggestion *)suggestion inInputSession:(id <_WKFormInputSession>)inputSession WK_API_AVAILABLE(ios(10.0));
 - (BOOL)_webView:(WKWebView *)webView focusRequiresStrongPasswordAssistance:(id <_WKFocusedElementInfo>)info WK_API_AVAILABLE(ios(WK_IOS_TBA));
 
+- (BOOL)_webView:(WKWebView *)webView shouldRevealFocusOverlayForInputSession:(id <_WKFormInputSession>)inputSession WK_API_AVAILABLE(ios(WK_IOS_TBA));
 - (CGFloat)_webView:(WKWebView *)webView focusedElementContextViewHeightForFittingSize:(CGSize)fittingSize inputSession:(id <_WKFormInputSession>)inputSession WK_API_AVAILABLE(ios(WK_IOS_TBA));
 - (UIView *)_webView:(WKWebView *)webView focusedElementContextViewForInputSession:(id <_WKFormInputSession>)inputSession WK_API_AVAILABLE(ios(WK_IOS_TBA));
 #endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to