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

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

Issue 2873763003: Rename and move ExperimentalMacRTL flag (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 unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_features.h ('k') | no next file » | 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 // deprecated systems. 173 // deprecated systems.
174 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ 174 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{
175 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; 175 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT};
176 #endif 176 #endif
177 177
178 // Enables or disables the Location Settings Dialog (LSD). The LSD is an Android 178 // Enables or disables the Location Settings Dialog (LSD). The LSD is an Android
179 // system-level geolocation permission prompt. 179 // system-level geolocation permission prompt.
180 const base::Feature kLsdPermissionPrompt{"LsdPermissionPrompt", 180 const base::Feature kLsdPermissionPrompt{"LsdPermissionPrompt",
181 base::FEATURE_DISABLED_BY_DEFAULT}; 181 base::FEATURE_DISABLED_BY_DEFAULT};
182 182
183 #if defined(OS_MACOSX)
184 // Enables RTL layout in macOS top chrome.
185 const base::Feature kMacRTL{"MacRTL", base::FEATURE_DISABLED_BY_DEFAULT};
186 #endif
187
183 // Enables or disables the Material Design version of chrome://bookmarks. 188 // Enables or disables the Material Design version of chrome://bookmarks.
184 const base::Feature kMaterialDesignBookmarks{"MaterialDesignBookmarks", 189 const base::Feature kMaterialDesignBookmarks{"MaterialDesignBookmarks",
185 base::FEATURE_DISABLED_BY_DEFAULT}; 190 base::FEATURE_DISABLED_BY_DEFAULT};
186 191
187 #if BUILDFLAG(ENABLE_EXTENSIONS) 192 #if BUILDFLAG(ENABLE_EXTENSIONS)
188 // Enabled or disabled the Material Design version of chrome://extensions. 193 // Enabled or disabled the Material Design version of chrome://extensions.
189 const base::Feature kMaterialDesignExtensions{ 194 const base::Feature kMaterialDesignExtensions{
190 "MaterialDesignExtensions", base::FEATURE_DISABLED_BY_DEFAULT}; 195 "MaterialDesignExtensions", base::FEATURE_DISABLED_BY_DEFAULT};
191 196
192 // Sets whether dismissing the new-tab-page override bubble counts as 197 // Sets whether dismissing the new-tab-page override bubble counts as
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 return base::FeatureList::IsEnabled(features::kPrefService) || 367 return base::FeatureList::IsEnabled(features::kPrefService) ||
363 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) 368 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES)
364 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( 369 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
365 switches::kMusConfig) == switches::kMash; 370 switches::kMusConfig) == switches::kMash;
366 #else 371 #else
367 false; 372 false;
368 #endif 373 #endif
369 } 374 }
370 375
371 } // namespace features 376 } // namespace features
OLDNEW
« no previous file with comments | « chrome/common/chrome_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698