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

Side by Side Diff: chrome/common/chrome_features.cc

Issue 2924383003: [MD Bookmarks] Enable by default. (Closed)
Patch Set: more tests 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_features.h" 5 #include "chrome/common/chrome_features.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/common/chrome_switches.h" 8 #include "chrome/common/chrome_switches.h"
9 #include "extensions/features/features.h" 9 #include "extensions/features/features.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 const base::Feature kLsdPermissionPrompt{"LsdPermissionPrompt", 173 const base::Feature kLsdPermissionPrompt{"LsdPermissionPrompt",
174 base::FEATURE_DISABLED_BY_DEFAULT}; 174 base::FEATURE_DISABLED_BY_DEFAULT};
175 175
176 #if defined(OS_MACOSX) 176 #if defined(OS_MACOSX)
177 // Enables RTL layout in macOS top chrome. 177 // Enables RTL layout in macOS top chrome.
178 const base::Feature kMacRTL{"MacRTL", base::FEATURE_DISABLED_BY_DEFAULT}; 178 const base::Feature kMacRTL{"MacRTL", base::FEATURE_DISABLED_BY_DEFAULT};
179 #endif 179 #endif
180 180
181 // Enables or disables the Material Design version of chrome://bookmarks. 181 // Enables or disables the Material Design version of chrome://bookmarks.
182 const base::Feature kMaterialDesignBookmarks{"MaterialDesignBookmarks", 182 const base::Feature kMaterialDesignBookmarks{"MaterialDesignBookmarks",
183 base::FEATURE_DISABLED_BY_DEFAULT}; 183 base::FEATURE_ENABLED_BY_DEFAULT};
184 184
185 #if BUILDFLAG(ENABLE_EXTENSIONS) 185 #if BUILDFLAG(ENABLE_EXTENSIONS)
186 // Enabled or disabled the Material Design version of chrome://extensions. 186 // Enabled or disabled the Material Design version of chrome://extensions.
187 const base::Feature kMaterialDesignExtensions{ 187 const base::Feature kMaterialDesignExtensions{
188 "MaterialDesignExtensions", base::FEATURE_DISABLED_BY_DEFAULT}; 188 "MaterialDesignExtensions", base::FEATURE_DISABLED_BY_DEFAULT};
189 189
190 // Sets whether dismissing the new-tab-page override bubble counts as 190 // Sets whether dismissing the new-tab-page override bubble counts as
191 // acknowledgement. 191 // acknowledgement.
192 extern const base::Feature kAcknowledgeNtpOverrideOnDeactivate{ 192 extern const base::Feature kAcknowledgeNtpOverrideOnDeactivate{
193 "AcknowledgeNtpOverrideOnDeactivate", base::FEATURE_DISABLED_BY_DEFAULT}; 193 "AcknowledgeNtpOverrideOnDeactivate", base::FEATURE_DISABLED_BY_DEFAULT};
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 return base::FeatureList::IsEnabled(features::kPrefService) || 375 return base::FeatureList::IsEnabled(features::kPrefService) ||
376 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) 376 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES)
377 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( 377 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
378 switches::kMusConfig) == switches::kMash; 378 switches::kMusConfig) == switches::kMash;
379 #else 379 #else
380 false; 380 false;
381 #endif 381 #endif
382 } 382 }
383 383
384 } // namespace features 384 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698