Title: [177132] trunk/Source/WebKit/mac
- Revision
- 177132
- Author
- [email protected]
- Date
- 2014-12-10 22:32:58 -0800 (Wed, 10 Dec 2014)
Log Message
Copy and paste action menu items don't work on the Mozilla Midas demo in WebKit1
https://bugs.webkit.org/show_bug.cgi?id=139529
<rdar://problem/19213620>
Reviewed by Beth Dakin.
* WebView/WebActionMenuController.mm:
(-[WebActionMenuController _copySelection:]):
(-[WebActionMenuController _paste:]):
Use the copy: and paste: methods on WebView so that we traverse subviews
when trying to respond, otherwise these actions don't work in subframes.
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (177131 => 177132)
--- trunk/Source/WebKit/mac/ChangeLog 2014-12-11 06:24:01 UTC (rev 177131)
+++ trunk/Source/WebKit/mac/ChangeLog 2014-12-11 06:32:58 UTC (rev 177132)
@@ -1,3 +1,17 @@
+2014-12-10 Timothy Horton <[email protected]>
+
+ Copy and paste action menu items don't work on the Mozilla Midas demo in WebKit1
+ https://bugs.webkit.org/show_bug.cgi?id=139529
+ <rdar://problem/19213620>
+
+ Reviewed by Beth Dakin.
+
+ * WebView/WebActionMenuController.mm:
+ (-[WebActionMenuController _copySelection:]):
+ (-[WebActionMenuController _paste:]):
+ Use the copy: and paste: methods on WebView so that we traverse subviews
+ when trying to respond, otherwise these actions don't work in subframes.
+
2014-12-10 Beth Dakin <[email protected]>
WK1: Add initial support for immediate actions
Modified: trunk/Source/WebKit/mac/WebView/WebActionMenuController.mm (177131 => 177132)
--- trunk/Source/WebKit/mac/WebView/WebActionMenuController.mm 2014-12-11 06:24:01 UTC (rev 177131)
+++ trunk/Source/WebKit/mac/WebView/WebActionMenuController.mm 2014-12-11 06:32:58 UTC (rev 177132)
@@ -589,7 +589,7 @@
- (void)_copySelection:(id)sender
{
- [_webView _executeCoreCommandByName:@"copy" value:nil];
+ [_webView copy:self];
}
- (void)_lookupText:(id)sender
@@ -604,7 +604,7 @@
- (void)_paste:(id)sender
{
- [_webView _executeCoreCommandByName:@"paste" value:nil];
+ [_webView paste:self];
}
- (void)_selectLookupText
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes