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

Unified Diff: chrome/browser/autocomplete/history_quick_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/history_quick_provider.h
diff --git a/chrome/browser/autocomplete/history_quick_provider.h b/chrome/browser/autocomplete/history_quick_provider.h
index f60ac082d04ac8ea905db598e0e1bba2f05fabf3..4626425e588768a7835b7a7ce9a90e2f75e302d3 100644
--- a/chrome/browser/autocomplete/history_quick_provider.h
+++ b/chrome/browser/autocomplete/history_quick_provider.h
@@ -95,7 +95,11 @@ class HistoryQuickProvider : public HistoryProvider {
// (This member is meant to only exist for experimentation purposes.
// Once we know which behavior is better, we should rip out this variable
// and make the best behavior the default.)
- bool reorder_for_inlining_;
+ bool local_reorder_for_inlining_;
+
+ // True if the omnibox will reorder matches as necessary to make the top
+ // result inlineable.
+ bool omnibox_will_reorder_for_inlining_;
// Only used for testing.
scoped_ptr<history::InMemoryURLIndex> index_for_testing_;

Powered by Google App Engine
This is Rietveld 408576698