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

Unified Diff: views/controls/textfield/native_textfield_views.h

Issue 8527015: Fix omnibox mouse click highlight/word select/focus issue in aura build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix minor coding style issue. Created 9 years, 1 month 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
Index: views/controls/textfield/native_textfield_views.h
diff --git a/views/controls/textfield/native_textfield_views.h b/views/controls/textfield/native_textfield_views.h
index 17967bbbdc667f17b6828ad22d09a5762f488f4f..797d04176c74cb7dd62f80bc67d64b8c8bc4857c 100644
--- a/views/controls/textfield/native_textfield_views.h
+++ b/views/controls/textfield/native_textfield_views.h
@@ -215,6 +215,12 @@ class VIEWS_EXPORT NativeTextfieldViews : public TouchSelectionClientView,
// explicitly if paste succeeded.
bool Paste();
+ // Tracks the mouse clicks for single/double/triple clicks.
+ void TrackMouseClicks(const MouseEvent& event);
+
+ // Handles mouse press events.
+ void HandleMousePressEvent(const MouseEvent& event);
+
// Checks if a char is ok to be inserted into the textfield. The |ch| is a
// modified character, i.e., modifiers took effect when generating this char.
static bool ShouldInsertChar(char16 ch, int flags);
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | views/controls/textfield/native_textfield_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698