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

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

Issue 6731036: Enabled pressing TAB to cycle through the Omnibox results. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Enabled pressing TAB to cycle through the Omnibox results, removed moving the caret to the Created 9 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
Index: chrome/browser/autocomplete/autocomplete_edit.h
===================================================================
--- chrome/browser/autocomplete/autocomplete_edit.h (revision 79782)
+++ chrome/browser/autocomplete/autocomplete_edit.h (working copy)
@@ -263,8 +263,9 @@
bool is_keyword_hint() const { return is_keyword_hint_; }
// Accepts the current keyword hint as a keyword. It always returns true for
- // caller convenience.
- bool AcceptKeyword();
+ // caller convenience. |update_result| should be false to accept the
+ // keyword in place without updating the result.
+ bool AcceptKeyword(bool update_result);
// Clears the current keyword. |visible_text| is the (non-keyword) text
// currently visible in the edit.
@@ -518,6 +519,9 @@
// keyword_ to show a "Press <tab> to search" sort of hint.
bool is_keyword_hint_;
+ // True if the current possible change shouldn't change results
+ bool result_frozen_;
+
// Paste And Go-related state. See CanPasteAndGo().
mutable GURL paste_and_go_url_;
mutable PageTransition::Type paste_and_go_transition_;

Powered by Google App Engine
This is Rietveld 408576698