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

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

Issue 18878007: Omnibox: Make the Controller Reorder Matches for Inlining (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Peter's comments Created 7 years, 5 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_result.h
diff --git a/chrome/browser/autocomplete/autocomplete_result.h b/chrome/browser/autocomplete/autocomplete_result.h
index df3ab011d7da966f1ce52c32d890be8c0646ffa9..00ec3642d0f0452c85d48a2b0e1480ad5b368643 100644
--- a/chrome/browser/autocomplete/autocomplete_result.h
+++ b/chrome/browser/autocomplete/autocomplete_result.h
@@ -164,6 +164,10 @@ class AutocompleteResult {
// 'foo'" result, and this will contain "http://foo/".
GURL alternate_nav_url_;
+ // True if the functions here should reorder matches as necessary to make
+ // the top result something that's allowed to be a default match.
+ bool reorder_for_legal_default_match_;
+
DISALLOW_COPY_AND_ASSIGN(AutocompleteResult);
};

Powered by Google App Engine
This is Rietveld 408576698