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

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

Issue 2948893004: Add new flag for experimental app banners. (Closed)
Patch Set: Rebase Created 3 years, 5 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') | tools/metrics/histograms/enums.xml » ('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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « chrome/common/chrome_features.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698