DescriptionFocus and trail cursor on Views Textfield selection clipboard paste.
Focus the textfield as needed (even with an empty clipboard).
Leave the cursor trailing the newly pasted text.
(don't restore and offset the prior cursor/selection)
Update and expand tests.
BUG=456581
TEST=Linux textfield/omnibox middle-click behaves as expected.
R=pkasting@chromium.org
Committed: https://crrev.com/973842b726e1effa9b5a89907e6eb4ca4f8cba2a
Cr-Commit-Position: refs/heads/master@{#316374}
Patch Set 1 #Patch Set 2 : Leave the test disabled... #
Total comments: 2
Patch Set 3 : Focus and update cursor with empty clipboard; update tests. #Patch Set 4 : Use SetClipboardText on other platforms too. #
Messages
Total messages: 18 (8 generated)
|