Title: [244438] trunk/Source/WebKit
- Revision
- 244438
- Author
- [email protected]
- Date
- 2019-04-18 14:57:48 -0700 (Thu, 18 Apr 2019)
Log Message
Update UIKit when a cut causes a selection change
https://bugs.webkit.org/show_bug.cgi?id=197047
<rdar://problem/36311563>
Reviewed by Wenson Hsieh.
We need to let UIKit know when a cut causes a selection change (always),
so that is can appropriately update the button on the keyboard bar.
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView cutForWebView:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (244437 => 244438)
--- trunk/Source/WebKit/ChangeLog 2019-04-18 21:49:21 UTC (rev 244437)
+++ trunk/Source/WebKit/ChangeLog 2019-04-18 21:57:48 UTC (rev 244438)
@@ -1,3 +1,17 @@
+2019-04-18 Megan Gardner <[email protected]>
+
+ Update UIKit when a cut causes a selection change
+ https://bugs.webkit.org/show_bug.cgi?id=197047
+ <rdar://problem/36311563>
+
+ Reviewed by Wenson Hsieh.
+
+ We need to let UIKit know when a cut causes a selection change (always),
+ so that is can appropriately update the button on the keyboard bar.
+
+ * UIProcess/ios/WKContentViewInteraction.mm:
+ (-[WKContentView cutForWebView:]):
+
2019-04-18 Brent Fulgham <[email protected]>
InjectedBundle parameters often need initialization function called before unarchiving
Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (244437 => 244438)
--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2019-04-18 21:49:21 UTC (rev 244437)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2019-04-18 21:57:48 UTC (rev 244438)
@@ -3023,7 +3023,7 @@
- (void)cutForWebView:(id)sender
{
- _page->executeEditCommand("cut"_s);
+ [self executeEditCommandWithCallback:@"cut"];
}
- (void)pasteForWebView:(id)sender
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes