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

Unified Diff: chrome/browser/ui/omnibox/omnibox_edit_model.h

Issue 10918289: Instant extended API: Make arrow up/down work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Hackiness noted Created 8 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
Index: chrome/browser/ui/omnibox/omnibox_edit_model.h
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.h b/chrome/browser/ui/omnibox/omnibox_edit_model.h
index 2de91cbc18ca5514ace2e129144460c431c39b71..18952307b4200c336e3896a3ce850548a0c0d347 100644
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.h
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.h
@@ -466,6 +466,12 @@ class OmniboxEditModel : public AutocompleteControllerDelegate {
bool has_temporary_text_;
GURL original_url_;
+ // True if Instant set the current temporary text, as opposed to it being set
+ // due to the user arrowing up/down through the popup.
+ // TODO(sreeram): This is a temporary hack. Remove it once the omnibox edit
+ // model/view code is decoupled from Instant (among other things).
+ bool is_temporary_text_set_by_instant_;
+
// When the user's last action was to paste, we disallow inline autocomplete
// (on the theory that the user is trying to paste in a new URL or part of
// one, and in either case inline autocomplete would get in the way).

Powered by Google App Engine
This is Rietveld 408576698