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

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

Issue 12436011: Fix CrOS Beta (branch 1410) Omnibox select-all on click-to-focus. (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 187382)
+++ ui/views/controls/textfield/native_textfield_views.cc (working copy)
@@ -96,9 +96,7 @@
TrackMouseClicks(event);
TextfieldController* controller = textfield_->GetController();
- if (!(controller && controller->HandleMouseEvent(textfield_, event)) ||
- // TODO: Remove once NativeTextfield implementations are consolidated to
- // Textfield.
+ if (!(controller && controller->HandleMouseEvent(textfield_, event)) &&
!textfield_->OnMousePressed(event)) {
HandleMousePressEvent(event);
}
« 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