DescriptionWhenever we set plain text on the standard clipboard, also set
the selection clipboard on Linux.
Most of the time, this happens automatically since the only way to
set the standard clipboard is to select text (which sets the selection
clipboard), but it's possible to set the standard clipboard using
javascript (event.clipboardData.setData('text/plain', ...)).
Since we always set the selection clipboard, I removed some code that
was for handling the "Copy Link Address" context menu item.
I tested on GTK+ and Aura.
BUG=168135
TEST=Right click a link, select "Copy Link Addres", middle click in a text
field. This should paste the URL. Here's a test case for
clipboardData.setData: http://jsfiddle.net/LNWMG/
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175387
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|