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

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: of->if Created 6 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
« no previous file with comments | « no previous file | chrome/browser/omnibox/omnibox_field_trial.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fafd818f4db0d4216eeddb9eaac64963d92e49ae..1430cb72af216939c56c6a68f86cf2732ffdce9d 100644
--- a/chrome/browser/omnibox/omnibox_field_trial.h
+++ b/chrome/browser/omnibox/omnibox_field_trial.h
@@ -310,6 +310,15 @@ class OmniboxFieldTrial {
static bool AddUWYTMatchEvenIfPromotedURLs();
// ---------------------------------------------------------
+ // For the DisplayHintTextWhenPossible experiment that's part of the
+ // bundled omnibox field trial.
+
+ // Returns true if 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.
@@ -326,6 +335,7 @@ class OmniboxFieldTrial {
static const char kDisableInliningRule[];
static const char kAnswersInSuggestRule[];
static const char kAddUWYTMatchEvenIfPromotedURLsRule[];
+ static const char kDisplayHintTextWhenPossibleRule[];
// Parameter names used by the HUP new scoring experiments.
static const char kHUPNewScoringEnabledParam[];
« no previous file with comments | « no previous file | chrome/browser/omnibox/omnibox_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698