OLD | NEW |
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // Grant or Deny decision in a permission prompt. | 145 // Grant or Deny decision in a permission prompt. |
146 const base::Feature kDisplayPersistenceToggleInPermissionPrompts{ | 146 const base::Feature kDisplayPersistenceToggleInPermissionPrompts{ |
147 "DisplayPersistenceToggleInPermissionPrompts", | 147 "DisplayPersistenceToggleInPermissionPrompts", |
148 base::FEATURE_DISABLED_BY_DEFAULT}; | 148 base::FEATURE_DISABLED_BY_DEFAULT}; |
149 | 149 |
150 // Enables Expect CT reporting, which sends reports for opted-in sites | 150 // Enables Expect CT reporting, which sends reports for opted-in sites |
151 // that don't serve sufficient Certificate Transparency information. | 151 // that don't serve sufficient Certificate Transparency information. |
152 const base::Feature kExpectCTReporting{"ExpectCTReporting", | 152 const base::Feature kExpectCTReporting{"ExpectCTReporting", |
153 base::FEATURE_ENABLED_BY_DEFAULT}; | 153 base::FEATURE_ENABLED_BY_DEFAULT}; |
154 | 154 |
| 155 // An experimental way of showing app banners, which has modal banners and gives |
| 156 // developers more control over when to show them. |
| 157 const base::Feature kExperimentalAppBanners{"ExperimentalAppBanners", |
| 158 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 159 |
155 // An experimental fullscreen prototype that allows pages to map browser and | 160 // An experimental fullscreen prototype that allows pages to map browser and |
156 // system-reserved keyboard shortcuts. | 161 // system-reserved keyboard shortcuts. |
157 const base::Feature kExperimentalKeyboardLockUI{ | 162 const base::Feature kExperimentalKeyboardLockUI{ |
158 "ExperimentalKeyboardLockUI", base::FEATURE_DISABLED_BY_DEFAULT}; | 163 "ExperimentalKeyboardLockUI", base::FEATURE_DISABLED_BY_DEFAULT}; |
159 | 164 |
160 #if defined(OS_WIN) | 165 #if defined(OS_WIN) |
161 // Enables using GDI to print text as simply text. | 166 // Enables using GDI to print text as simply text. |
162 const base::Feature kGdiTextPrinting {"GdiTextPrinting", | 167 const base::Feature kGdiTextPrinting {"GdiTextPrinting", |
163 base::FEATURE_DISABLED_BY_DEFAULT}; | 168 base::FEATURE_DISABLED_BY_DEFAULT}; |
164 #endif | 169 #endif |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 return base::FeatureList::IsEnabled(features::kPrefService) || | 410 return base::FeatureList::IsEnabled(features::kPrefService) || |
406 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) | 411 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) |
407 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( | 412 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
408 switches::kMusConfig) == switches::kMash; | 413 switches::kMusConfig) == switches::kMash; |
409 #else | 414 #else |
410 false; | 415 false; |
411 #endif | 416 #endif |
412 } | 417 } |
413 | 418 |
414 } // namespace features | 419 } // namespace features |
OLD | NEW |