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

Unified Diff: ui/app_list/app_list_features.cc

Issue 2878503004: Implement search answer "dark run" mode. (Closed)
Patch Set: Created 3 years, 7 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 | « ui/app_list/app_list_features.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_features.cc
diff --git a/ui/app_list/app_list_features.cc b/ui/app_list/app_list_features.cc
index 36cadbf69f325efaad7f51d02f83d96541834083..d00e82a1d6128384451ee3d3aab8f8a3bb6c1ffd 100644
--- a/ui/app_list/app_list_features.cc
+++ b/ui/app_list/app_list_features.cc
@@ -12,6 +12,8 @@ namespace features {
const base::Feature kEnableAnswerCard{"EnableAnswerCard",
base::FEATURE_DISABLED_BY_DEFAULT};
+const base::Feature kEnableAnswerCardDarkRun{"EnableAnswerCardDarkRun",
+ base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kEnableFullscreenAppList{"EnableFullscreenAppList",
base::FEATURE_DISABLED_BY_DEFAULT};
@@ -20,6 +22,12 @@ bool IsAnswerCardEnabled() {
return enabled;
}
+bool IsAnswerCardDarkRunEnabled() {
+ static const bool enabled =
+ base::FeatureList::IsEnabled(kEnableAnswerCardDarkRun);
+ return enabled;
+}
+
bool IsFullscreenAppListEnabled() {
// Not using local static variable to allow tests to change this value.
return base::FeatureList::IsEnabled(kEnableFullscreenAppList);
« no previous file with comments | « ui/app_list/app_list_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698