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

Unified Diff: chrome/browser/omnibox/omnibox_field_trial.h

Issue 245993002: Omnibox: Create Field Trial to Always Display Hint Text (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 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[];
« no previous file with comments | « no previous file | chrome/browser/omnibox/omnibox_field_trial.cc » ('j') | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698