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

Unified Diff: components/omnibox/browser/omnibox_field_trial.cc

Issue 2721993002: Omnibox - Make Clipboard Provider Enabled via an Experimental Feature (Closed)
Patch Set: remove unnecessary variable Created 3 years, 10 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: components/omnibox/browser/omnibox_field_trial.cc
diff --git a/components/omnibox/browser/omnibox_field_trial.cc b/components/omnibox/browser/omnibox_field_trial.cc
index 935e2b1aa6e7617b04ad5416c91dd032fedd7e90..441192e6997fcf4a516bb8ef8fb806467543dcec 100644
--- a/components/omnibox/browser/omnibox_field_trial.cc
+++ b/components/omnibox/browser/omnibox_field_trial.cc
@@ -37,6 +37,17 @@ namespace omnibox {
const base::Feature kNewOmniboxAnswerTypes{"NewOmniboxAnswerTypes",
base::FEATURE_DISABLED_BY_DEFAULT};
+// Feature used to enable clipboard provider, which provides the user with
+// suggestions of the URL in the user's clipboard (if any) upon omnibox focus.
+const base::Feature kEnableClipboardProvider {
+ "OmniboxEnableClipboardProvider",
+#if defined(OS_IOS)
+ base::FEATURE_ENABLED_BY_DEFAULT
+#else
+ base::FEATURE_DISABLED_BY_DEFAULT
+#endif
+};
+
} // namespace omnibox
namespace {

Powered by Google App Engine
This is Rietveld 408576698