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

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

Issue 2721993002: Omnibox - Make Clipboard Provider Enabled via an Experimental Feature (Closed)
Patch Set: rebase 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 26321eaf09c385f5304b9cbec1ead864924ac026..c959a0f5960977f12b4c8cfcbc07a65ba8f4bbee 100644
--- a/components/omnibox/browser/omnibox_field_trial.cc
+++ b/components/omnibox/browser/omnibox_field_trial.cc
@@ -42,6 +42,17 @@ const base::Feature kNewOmniboxAnswerTypes{"NewOmniboxAnswerTypes",
const base::Feature kOmniboxEntitySuggestions{
"OmniboxEntitySuggestions", 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 {
« no previous file with comments | « components/omnibox/browser/omnibox_field_trial.h ('k') | ios/chrome/browser/autocomplete/autocomplete_classifier_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698