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

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

Issue 18878007: Omnibox: Make the Controller Reorder Matches for Inlining (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one final pass through the code 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/shortcuts_provider.h
diff --git a/chrome/browser/autocomplete/shortcuts_provider.h b/chrome/browser/autocomplete/shortcuts_provider.h
index 11f0b0a6b59601aea9a40947cdc858bd08121c72..dd768bfe48348aabfe3e6da2c5cffa7258864a34 100644
--- a/chrome/browser/autocomplete/shortcuts_provider.h
+++ b/chrome/browser/autocomplete/shortcuts_provider.h
@@ -107,6 +107,10 @@ class ShortcutsProvider
// demoted to less than that number because ShortcutsProvider isn't
// allowed to inline.
int max_relevance_;
+
+ // True if the omnibox will reorder matches as necessary to make the top
+ // one something that is allowed to be the default match.
+ bool omnibox_will_reorder_for_legal_default_match_;
};
#endif // CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698