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 95913f9d917ea6ff362820eac10ec0cbd0ade751..9c49b39daa91552001da4dfb3d37374c02f1df7b 100644 |
--- a/chrome/browser/omnibox/omnibox_field_trial.h |
+++ b/chrome/browser/omnibox/omnibox_field_trial.h |
@@ -259,9 +259,19 @@ class OmniboxFieldTrial { |
static bool HQPAllowMatchInSchemeValue(); |
// --------------------------------------------------------- |
+ // For the DisplayHintTextWhenPossible experiment that's part of the |
+ // bundled omnibox field trial. |
+ |
+ // Returns true of the omnibox should display hint text (Search |
+ // <search engine> or type URL) when possible (i.e., the omnibox |
+ // is otherwise non-empty). |
+ static bool DisplayHintTextWhenPossible(); |
+ |
+ // --------------------------------------------------------- |
// Exposed publicly for the sake of unittests. |
static const char kBundledExperimentFieldTrialName[]; |
// Rule names used by the bundled experiment. |
+ static const char kDisplayHintTextWhenPossibleRule[]; |
static const char kShortcutsScoringMaxRelevanceRule[]; |
static const char kSearchHistoryRule[]; |
static const char kDemoteByTypeRule[]; |