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

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: 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/history_quick_provider.h
diff --git a/chrome/browser/autocomplete/history_quick_provider.h b/chrome/browser/autocomplete/history_quick_provider.h
index a4208bac572cbf779bd8641d2ec9f9f0017132d7..8f00a6aebdfb702945562fe7b14c61455d8c219b 100644
--- a/chrome/browser/autocomplete/history_quick_provider.h
+++ b/chrome/browser/autocomplete/history_quick_provider.h
@@ -79,6 +79,10 @@ class HistoryQuickProvider : public HistoryProvider {
AutocompleteInput autocomplete_input_;
std::string languages_;
+ // 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_;
+
// Only used for testing.
scoped_ptr<history::InMemoryURLIndex> index_for_testing_;

Powered by Google App Engine
This is Rietveld 408576698