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

Unified Diff: chrome/browser/omnibox/omnibox_field_trial.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/omnibox/omnibox_field_trial.h
diff --git a/chrome/browser/omnibox/omnibox_field_trial.h b/chrome/browser/omnibox/omnibox_field_trial.h
index 5a928be791016c22062e9b81b71eb0e2c333161a..d721a49f9b8e1a30c3c85d81f2f171bcc16869ee 100644
--- a/chrome/browser/omnibox/omnibox_field_trial.h
+++ b/chrome/browser/omnibox/omnibox_field_trial.h
@@ -125,6 +125,15 @@ class OmniboxFieldTrial {
// all query suggestions from search history.
static bool SearchHistoryDisable();
+ // ---------------------------------------------------------
+ // For the OmniboxReorderForInlining field trial.
+
+ // Returns true if the omnibox will reorder matches so that an inlineable
+ // match will appear first. This means AutocompleteProviders can score
+ // matches however they desire without regard to making sure the top result
+ // when all the matches from all providers are merged is inlineable.
+ static bool InReorderForInliningGroup();
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(OmniboxFieldTrial);
};

Powered by Google App Engine
This is Rietveld 408576698