| 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 namespace features { | 7 namespace features { |
| 8 | 8 |
| 9 // All features in alphabetical order. | 9 // All features in alphabetical order. |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 const base::Feature kBackgroundModeAllowRestart{ | 27 const base::Feature kBackgroundModeAllowRestart{ |
| 28 "BackgroundModeAllowRestart", base::FEATURE_DISABLED_BY_DEFAULT}; | 28 "BackgroundModeAllowRestart", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 29 #endif // defined(OS_WIN) || defined(OS_LINUX) | 29 #endif // defined(OS_WIN) || defined(OS_LINUX) |
| 30 | 30 |
| 31 // Enables the Backspace key to navigate back in the browser, as well as | 31 // Enables the Backspace key to navigate back in the browser, as well as |
| 32 // Shift+Backspace to navigate forward. | 32 // Shift+Backspace to navigate forward. |
| 33 const base::Feature kBackspaceGoesBackFeature { | 33 const base::Feature kBackspaceGoesBackFeature { |
| 34 "BackspaceGoesBack", base::FEATURE_DISABLED_BY_DEFAULT | 34 "BackspaceGoesBack", base::FEATURE_DISABLED_BY_DEFAULT |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 // Enables or disables whether permission prompts are automatically blocked |
| 38 // after the user has explicitly dismissed them too many times. |
| 39 const base::Feature kBlockPromptsIfDismissedOften{ |
| 40 "BlockPromptsIfDismissedOften", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 41 |
| 37 // Experiment to disable small cross-origin content. (http://crbug.com/608886) | 42 // Experiment to disable small cross-origin content. (http://crbug.com/608886) |
| 38 const base::Feature kBlockSmallContent{"BlockSmallPluginContent", | 43 const base::Feature kBlockSmallContent{"BlockSmallPluginContent", |
| 39 base::FEATURE_DISABLED_BY_DEFAULT}; | 44 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 40 | 45 |
| 41 // 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 |
| 42 // their impact. See crbug.com/478209. | 47 // their impact. See crbug.com/478209. |
| 43 const base::Feature kBrowserHangFixesExperiment{ | 48 const base::Feature kBrowserHangFixesExperiment{ |
| 44 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; | 49 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 45 | 50 |
| 46 // Enables Expect CT reporting, which sends reports for opted-in sites | 51 // Enables Expect CT reporting, which sends reports for opted-in sites |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // Enables or disables the opt-in IME menu in the language settings page. | 119 // Enables or disables the opt-in IME menu in the language settings page. |
| 115 const base::Feature kOptInImeMenu{"OptInImeMenu", | 120 const base::Feature kOptInImeMenu{"OptInImeMenu", |
| 116 base::FEATURE_DISABLED_BY_DEFAULT}; | 121 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 117 | 122 |
| 118 // Enables or disables PIN quick unlock settings integration. | 123 // Enables or disables PIN quick unlock settings integration. |
| 119 const base::Feature kQuickUnlockPin{"QuickUnlockPin", | 124 const base::Feature kQuickUnlockPin{"QuickUnlockPin", |
| 120 base::FEATURE_DISABLED_BY_DEFAULT}; | 125 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 121 #endif // defined(OS_CHROMEOS) | 126 #endif // defined(OS_CHROMEOS) |
| 122 | 127 |
| 123 } // namespace features | 128 } // namespace features |
| OLD | NEW |