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

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: Fix null error 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 25 matching lines...) Expand all
36 36
37 // Experiment to disable small cross-origin content. (http://crbug.com/608886) 37 // Experiment to disable small cross-origin content. (http://crbug.com/608886)
38 const base::Feature kBlockSmallContent{"BlockSmallPluginContent", 38 const base::Feature kBlockSmallContent{"BlockSmallPluginContent",
39 base::FEATURE_DISABLED_BY_DEFAULT}; 39 base::FEATURE_DISABLED_BY_DEFAULT};
40 40
41 // Fixes for browser hang bugs are deployed in a field trial in order to measure 41 // Fixes for browser hang bugs are deployed in a field trial in order to measure
42 // their impact. See crbug.com/478209. 42 // their impact. See crbug.com/478209.
43 const base::Feature kBrowserHangFixesExperiment{ 43 const base::Feature kBrowserHangFixesExperiment{
44 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; 44 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT};
45 45
46 // Experiment to display a toggle allowing users to opt-out of persisting a
47 // Grant or Deny decision in a permission prompt.
48 const base::Feature kDisplayPersistenceToggleInPermissionPrompts{
49 "DisplayPersistenceToggleInPermissionPrompts",
50 base::FEATURE_DISABLED_BY_DEFAULT};
51
46 // Enables Expect CT reporting, which sends reports for opted-in sites 52 // Enables Expect CT reporting, which sends reports for opted-in sites
47 // that don't serve sufficient Certificate Transparency information. 53 // that don't serve sufficient Certificate Transparency information.
48 const base::Feature kExpectCTReporting{"ExpectCTReporting", 54 const base::Feature kExpectCTReporting{"ExpectCTReporting",
49 base::FEATURE_DISABLED_BY_DEFAULT}; 55 base::FEATURE_DISABLED_BY_DEFAULT};
50 56
51 // An experimental fullscreen prototype that allows pages to map browser and 57 // An experimental fullscreen prototype that allows pages to map browser and
52 // system-reserved keyboard shortcuts. 58 // system-reserved keyboard shortcuts.
53 const base::Feature kExperimentalKeyboardLockUI{ 59 const base::Feature kExperimentalKeyboardLockUI{
54 "ExperimentalKeyboardLockUI", base::FEATURE_DISABLED_BY_DEFAULT}; 60 "ExperimentalKeyboardLockUI", base::FEATURE_DISABLED_BY_DEFAULT};
55 61
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // Enables or disables the opt-in IME menu in the language settings page. 120 // Enables or disables the opt-in IME menu in the language settings page.
115 const base::Feature kOptInImeMenu{"OptInImeMenu", 121 const base::Feature kOptInImeMenu{"OptInImeMenu",
116 base::FEATURE_DISABLED_BY_DEFAULT}; 122 base::FEATURE_DISABLED_BY_DEFAULT};
117 123
118 // Enables or disables PIN quick unlock settings integration. 124 // Enables or disables PIN quick unlock settings integration.
119 const base::Feature kQuickUnlockPin{"QuickUnlockPin", 125 const base::Feature kQuickUnlockPin{"QuickUnlockPin",
120 base::FEATURE_DISABLED_BY_DEFAULT}; 126 base::FEATURE_DISABLED_BY_DEFAULT};
121 #endif // defined(OS_CHROMEOS) 127 #endif // defined(OS_CHROMEOS)
122 128
123 } // namespace features 129 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698