Title: [246013] trunk/Source/WebKit
Revision
246013
Author
[email protected]
Date
2019-05-31 23:19:52 -0700 (Fri, 31 May 2019)

Log Message

Ensure keyboard editing is up to date
https://bugs.webkit.org/show_bug.cgi?id=198444
<rdar://problem/36311563>

Reviewed by Ryosuke Niwa.

In order for the keyboard cut/copy/undo/redo/etc buttons to be up to date
based on the state of the selection, we need to let the input delegate know when the
selection has changed.

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _selectionChanged]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (246012 => 246013)


--- trunk/Source/WebKit/ChangeLog	2019-06-01 04:33:04 UTC (rev 246012)
+++ trunk/Source/WebKit/ChangeLog	2019-06-01 06:19:52 UTC (rev 246013)
@@ -1,3 +1,18 @@
+2019-05-31  Megan Gardner  <[email protected]>
+
+        Ensure keyboard editing is up to date
+        https://bugs.webkit.org/show_bug.cgi?id=198444
+        <rdar://problem/36311563>
+
+        Reviewed by Ryosuke Niwa.
+
+        In order for the keyboard cut/copy/undo/redo/etc buttons to be up to date
+        based on the state of the selection, we need to let the input delegate know when the
+        selection has changed.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView _selectionChanged]):
+
 2019-05-31  Sihui Liu  <[email protected]>
 
         Remove outdated FIXME in StorageManager

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (246012 => 246013)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2019-06-01 04:33:04 UTC (rev 246012)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2019-06-01 06:19:52 UTC (rev 246013)
@@ -5718,6 +5718,8 @@
     }
 #endif
 
+    [self.inputDelegate selectionDidChange:self];
+    
     [_webView _didChangeEditorState];
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to