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

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: 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..83a8e2885e7bf8f1e5246f06ed2e0d215fed5acf 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
+ // result inlineable.
+ bool omnibox_will_reorder_for_inlining_;
};
#endif // CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698