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

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

Issue 2226633002: Add a feature to display a persistence toggle for permission prompts on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits, verbal change to make it geolocation-only Created 4 years, 4 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 namespace features { 7 namespace features {
8 8
9 // All features in alphabetical order. 9 // All features in alphabetical order.
10 10
(...skipping 30 matching lines...) Expand all
41 41
42 // Experiment to disable small cross-origin content. (http://crbug.com/608886) 42 // Experiment to disable small cross-origin content. (http://crbug.com/608886)
43 const base::Feature kBlockSmallContent{"BlockSmallPluginContent", 43 const base::Feature kBlockSmallContent{"BlockSmallPluginContent",
44 base::FEATURE_DISABLED_BY_DEFAULT}; 44 base::FEATURE_DISABLED_BY_DEFAULT};
45 45
46 // Fixes for browser hang bugs are deployed in a field trial in order to measure 46 // Fixes for browser hang bugs are deployed in a field trial in order to measure
47 // their impact. See crbug.com/478209. 47 // their impact. See crbug.com/478209.
48 const base::Feature kBrowserHangFixesExperiment{ 48 const base::Feature kBrowserHangFixesExperiment{
49 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; 49 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT};
50 50
51 // Experiment to display a toggle allowing users to opt-out of persisting a
52 // Grant or Deny decision in a permission prompt.
53 const base::Feature kDisplayPersistenceToggleInPermissionPrompts{
54 "DisplayPersistenceToggleInPermissionPrompts",
55 base::FEATURE_DISABLED_BY_DEFAULT};
56
51 // Enables Expect CT reporting, which sends reports for opted-in sites 57 // Enables Expect CT reporting, which sends reports for opted-in sites
52 // that don't serve sufficient Certificate Transparency information. 58 // that don't serve sufficient Certificate Transparency information.
53 const base::Feature kExpectCTReporting{"ExpectCTReporting", 59 const base::Feature kExpectCTReporting{"ExpectCTReporting",
54 base::FEATURE_DISABLED_BY_DEFAULT}; 60 base::FEATURE_DISABLED_BY_DEFAULT};
55 61
56 // An experimental fullscreen prototype that allows pages to map browser and 62 // An experimental fullscreen prototype that allows pages to map browser and
57 // system-reserved keyboard shortcuts. 63 // system-reserved keyboard shortcuts.
58 const base::Feature kExperimentalKeyboardLockUI{ 64 const base::Feature kExperimentalKeyboardLockUI{
59 "ExperimentalKeyboardLockUI", base::FEATURE_DISABLED_BY_DEFAULT}; 65 "ExperimentalKeyboardLockUI", base::FEATURE_DISABLED_BY_DEFAULT};
60 66
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // Enables or disables the opt-in IME menu in the language settings page. 129 // Enables or disables the opt-in IME menu in the language settings page.
124 const base::Feature kOptInImeMenu{"OptInImeMenu", 130 const base::Feature kOptInImeMenu{"OptInImeMenu",
125 base::FEATURE_DISABLED_BY_DEFAULT}; 131 base::FEATURE_DISABLED_BY_DEFAULT};
126 132
127 // Enables or disables PIN quick unlock settings integration. 133 // Enables or disables PIN quick unlock settings integration.
128 const base::Feature kQuickUnlockPin{"QuickUnlockPin", 134 const base::Feature kQuickUnlockPin{"QuickUnlockPin",
129 base::FEATURE_DISABLED_BY_DEFAULT}; 135 base::FEATURE_DISABLED_BY_DEFAULT};
130 #endif // defined(OS_CHROMEOS) 136 #endif // defined(OS_CHROMEOS)
131 137
132 } // namespace features 138 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698