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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit_view_gtk.h

Issue 196020: Fix issue 20934: Omnibox keyboard behavior wrong for "See recent pages in his... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_edit_view_gtk.h
===================================================================
--- chrome/browser/autocomplete/autocomplete_edit_view_gtk.h (revision 25573)
+++ chrome/browser/autocomplete/autocomplete_edit_view_gtk.h (working copy)
@@ -385,6 +385,13 @@
NotificationRegistrar registrar_;
#endif
+ // Indicates if Enter key was pressed.
+ //
+ // It's used in the key press handler to detect an Enter key press event
+ // during sync dispatch of "end-user-action" signal so that an unexpected
+ // change caused by the event can be ignored in OnAfterPossibleChange().
+ bool enter_was_pressed_;
+
// Indicates if Tab key was pressed.
//
// It's only used in the key press handler to detect a Tab key press event
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698