Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: ui/views/controls/textfield/native_textfield_views.cc

Issue 12432019: Merge 187643 "Fix views omnibox unfocused double-click behavior." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1410/src/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/native_textfield_views.cc
===================================================================
--- ui/views/controls/textfield/native_textfield_views.cc (revision 188155)
+++ ui/views/controls/textfield/native_textfield_views.cc (working copy)
@@ -1267,6 +1267,7 @@
MoveCursorTo(event.location(), event.IsShiftDown());
break;
case 1:
+ MoveCursorTo(event.location(), false);
model_->SelectWord();
OnCaretBoundsChanged();
break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698