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

Unified Diff: ui/app_list/app_list_features.cc

Issue 2965813002: Added flag in chrome://flags to enable the New Launcher UI. (Closed)
Patch Set: Added flag to histograms/enums.xml Created 3 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 | « tools/metrics/histograms/enums.xml ('k') | ui/app_list/app_list_switches.h » ('j') | 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 eec8b5727302538d23987c4ed240d72e28b63db4..efb627a30fe53b88f6398867a909e25ad6d14ef3 100644
--- a/ui/app_list/app_list_features.cc
+++ b/ui/app_list/app_list_features.cc
@@ -6,6 +6,7 @@
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
+#include "ui/app_list/app_list_switches.h"
namespace app_list {
namespace features {
@@ -32,7 +33,8 @@ bool IsAnswerCardDarkRunEnabled() {
bool IsFullscreenAppListEnabled() {
// Not using local static variable to allow tests to change this value.
- return base::FeatureList::IsEnabled(kEnableFullscreenAppList);
+ return switches::IsFullscreenAppListEnabled() ||
+ base::FeatureList::IsEnabled(kEnableFullscreenAppList);
}
bool IsSearchResultsNewDesignEnabled() {
« no previous file with comments | « tools/metrics/histograms/enums.xml ('k') | ui/app_list/app_list_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698