Chromium Code Reviews
Descriptionviews: call UpdateAfterChange() in Textfield::InsertOrReplaceText().
The Omnibox uses InsertOrReplaceText() to implement its own paste handling that bypasses Textfield::OnPaste(), but the cursor still needs to be kept in sync with pastes.
BUG=651016
Committed: https://crrev.com/cb06e3bec608cfc5f294d4aaa1a2c2e983017f05
Cr-Commit-Position: refs/heads/master@{#423930}
Patch Set 1 #
Total comments: 1
Patch Set 2 : call UpdateAfterChange in InsertOrReplaceText #Patch Set 3 : unit tests are good #
Total comments: 2
Patch Set 4 : use TextfieldTestApi #
Messages
Total messages: 18 (6 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||