| 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 10 matching lines...) Expand all Loading... |
| 21 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 21 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
| 22 | 22 |
| 23 #if defined(OS_WIN) || defined(OS_LINUX) | 23 #if defined(OS_WIN) || defined(OS_LINUX) |
| 24 // Enables the Restart background mode optimization. When all Chrome UI is | 24 // Enables the Restart background mode optimization. When all Chrome UI is |
| 25 // closed and it goes in the background, allows to restart the browser to | 25 // closed and it goes in the background, allows to restart the browser to |
| 26 // discard memory. | 26 // discard memory. |
| 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 or disables whether permission prompts are automatically blocked |
| 32 // after the user has explicitly dismissed them too many times. |
| 33 const base::Feature kBlockPromptsIfDismissedOften{ |
| 34 "BlockPromptsIfDismissedOften", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 35 |
| 31 // Experiment to disable small cross-origin content. (http://crbug.com/608886) | 36 // Experiment to disable small cross-origin content. (http://crbug.com/608886) |
| 32 const base::Feature kBlockSmallContent{"BlockSmallPluginContent", | 37 const base::Feature kBlockSmallContent{"BlockSmallPluginContent", |
| 33 base::FEATURE_DISABLED_BY_DEFAULT}; | 38 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 34 | 39 |
| 35 // Fixes for browser hang bugs are deployed in a field trial in order to measure | 40 // Fixes for browser hang bugs are deployed in a field trial in order to measure |
| 36 // their impact. See crbug.com/478209. | 41 // their impact. See crbug.com/478209. |
| 37 const base::Feature kBrowserHangFixesExperiment{ | 42 const base::Feature kBrowserHangFixesExperiment{ |
| 38 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; | 43 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 39 | 44 |
| 40 // Enables Expect CT reporting, which sends reports for opted-in sites | 45 // Enables Expect CT reporting, which sends reports for opted-in sites |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 // Enables or disables the opt-in IME menu in the language settings page. | 112 // Enables or disables the opt-in IME menu in the language settings page. |
| 108 const base::Feature kOptInImeMenu{"OptInImeMenu", | 113 const base::Feature kOptInImeMenu{"OptInImeMenu", |
| 109 base::FEATURE_DISABLED_BY_DEFAULT}; | 114 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 110 | 115 |
| 111 // Enables or disables PIN quick unlock settings integration. | 116 // Enables or disables PIN quick unlock settings integration. |
| 112 const base::Feature kQuickUnlockPin{"QuickUnlockPin", | 117 const base::Feature kQuickUnlockPin{"QuickUnlockPin", |
| 113 base::FEATURE_DISABLED_BY_DEFAULT}; | 118 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 114 #endif // defined(OS_CHROMEOS) | 119 #endif // defined(OS_CHROMEOS) |
| 115 | 120 |
| 116 } // namespace features | 121 } // namespace features |
| OLD | NEW |