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

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: 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/omnibox/omnibox_field_trial.h
diff --git a/chrome/browser/omnibox/omnibox_field_trial.h b/chrome/browser/omnibox/omnibox_field_trial.h
index d555a9fcfba920f0b34a820936c126dff120f10f..4f11ddf689be46f51e1a2f8bd259e61669e8c4ac 100644
--- a/chrome/browser/omnibox/omnibox_field_trial.h
+++ b/chrome/browser/omnibox/omnibox_field_trial.h
@@ -112,6 +112,16 @@ class OmniboxFieldTrial {
// all query suggestions from search history.
static bool SearchHistoryDisable();
+ // ---------------------------------------------------------
+ // For the OmniboxReorderForLegalDefaultMatch field trial.
+
+ // Returns true if the omnibox will reorder matches so that a match
+ // that's allowed to be the default match will appear first. This means
+ // AutocompleteProviders can score matches however they desire without
+ // regard to making sure the top match when all the matches from all
+ // providers are merged is a legal default match.
+ static bool InReorderForLegalDefaultMatchGroup();
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(OmniboxFieldTrial);
};

Powered by Google App Engine
This is Rietveld 408576698