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

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: Address the code review comments. 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..aea72520e4b65e3659c122d5e31357eabdd172b0 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/tripple clicks.
msw 2011/11/12 02:19:21 typo: triple.
jennyz 2011/11/14 18:28:57 Done.
+ void TrackMouseClicks(const MouseEvent& event);
+
+ // Handles mouse press event.
msw 2011/11/12 02:19:21 grammar: pluralize events.
+ void HandleMousePresseEvent(const MouseEvent& event);
msw 2011/11/12 02:19:21 typo: HandleMousePress*e*Events
jennyz 2011/11/14 18:28:57 Done.
+
// 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);

Powered by Google App Engine
This is Rietveld 408576698