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

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 in chrome://flags to enable the feature. Created 3 years, 6 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: 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..ee6f990cfadafb9b1988efdd3b599a1b9a103691 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::IsNewAppListUIEnabled() ||
+ base::FeatureList::IsEnabled(kEnableFullscreenAppList);
}
bool IsSearchResultsNewDesignEnabled() {

Powered by Google App Engine
This is Rietveld 408576698