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

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

Issue 2924383003: [MD Bookmarks] Enable by default. (Closed)
Patch Set: address comments 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
« no previous file with comments | « chrome/browser/ui/webui/bookmarks_ui_browsertest.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 return base::FeatureList::IsEnabled(features::kPrefService) || 386 return base::FeatureList::IsEnabled(features::kPrefService) ||
387 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) 387 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES)
388 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( 388 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
389 switches::kMusConfig) == switches::kMash; 389 switches::kMusConfig) == switches::kMash;
390 #else 390 #else
391 false; 391 false;
392 #endif 392 #endif
393 } 393 }
394 394
395 } // namespace features 395 } // namespace features
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/bookmarks_ui_browsertest.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698