RESOLVED FIXED 41242
[chromium] Get the selected text from plugins for right click menu
https://bugs.webkit.org/show_bug.cgi?id=41242
Summary [chromium] Get the selected text from plugins for right click menu
John Abd-El-Malek
Reported 2010-06-25 18:21:06 PDT
[chromium] Get the selected text from plugins for right click menu
Attachments
Patch (4.69 KB, patch)
2010-06-25 18:23 PDT, John Abd-El-Malek
no flags
Patch (6.98 KB, patch)
2010-06-27 18:17 PDT, John Abd-El-Malek
no flags
Patch (6.98 KB, patch)
2010-06-27 18:26 PDT, John Abd-El-Malek
no flags
Patch (6.99 KB, patch)
2010-06-28 12:09 PDT, John Abd-El-Malek
fishd: review+
John Abd-El-Malek
Comment 1 2010-06-25 18:23:23 PDT
WebKit Review Bot
Comment 2 2010-06-25 18:26:14 PDT
Attachment 59821 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1 WebKit/chromium/src/ContextMenuClientImpl.cpp:188: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] WebKit/chromium/src/WebPluginContainerImpl.cpp:249: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 2 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
John Abd-El-Malek
Comment 3 2010-06-27 18:17:10 PDT
John Abd-El-Malek
Comment 4 2010-06-27 18:26:29 PDT
Darin Fisher (:fishd, Google)
Comment 5 2010-06-28 10:29:28 PDT
Comment on attachment 59867 [details] Patch WebKit/chromium/src/ContextMenuClientImpl.cpp:166 + // We can always select all... nit: and translate WebKit/chromium/src/ContextMenuClientImpl.cpp:219 + data.editFlags &= ~WebContextMenuData::CanTranslate; maybe this should be inside the isWidget() block? an object tag can also be used like a DIV.
John Abd-El-Malek
Comment 6 2010-06-28 12:01:26 PDT
(In reply to comment #5) > (From update of attachment 59867 [details]) > WebKit/chromium/src/ContextMenuClientImpl.cpp:166 > + // We can always select all... > nit: and translate I didn't change this because for translate, it's not always possible per the code below it. > > WebKit/chromium/src/ContextMenuClientImpl.cpp:219 > + data.editFlags &= ~WebContextMenuData::CanTranslate; > maybe this should be inside the isWidget() block? an object tag can > also be used like a DIV. done. i'm not familiar with the differences between these two. if it's a widget and it's an embed/object tag, are we guaranteed it's a plugin?
Darin Fisher (:fishd, Google)
Comment 7 2010-06-28 12:06:21 PDT
> done. i'm not familiar with the differences between these two. if it's a widget and it's an embed/object tag, are we guaranteed it's a plugin? yes.
John Abd-El-Malek
Comment 8 2010-06-28 12:09:18 PDT
John Abd-El-Malek
Comment 9 2010-06-28 14:07:26 PDT
Note You need to log in before you can comment on or make changes to this bug.