| 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 the Backspace key to navigate back in the browser, as well as |
| 32 // Shift+Backspace to navigate forward. |
| 33 const base::Feature kBackspaceGoesBackFeature { |
| 34 "BackspaceGoesBack", base::FEATURE_DISABLED_BY_DEFAULT |
| 35 }; |
| 36 |
| 31 // Experiment to disable small cross-origin content. (http://crbug.com/608886) | 37 // Experiment to disable small cross-origin content. (http://crbug.com/608886) |
| 32 const base::Feature kBlockSmallContent{"BlockSmallPluginContent", | 38 const base::Feature kBlockSmallContent{"BlockSmallPluginContent", |
| 33 base::FEATURE_DISABLED_BY_DEFAULT}; | 39 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 34 | 40 |
| 35 // 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 |
| 36 // their impact. See crbug.com/478209. | 42 // their impact. See crbug.com/478209. |
| 37 const base::Feature kBrowserHangFixesExperiment{ | 43 const base::Feature kBrowserHangFixesExperiment{ |
| 38 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; | 44 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 39 | 45 |
| 40 // Enables Expect CT reporting, which sends reports for opted-in sites | 46 // Enables Expect CT reporting, which sends reports for opted-in sites |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 // Enables or disables the opt-in IME menu in the language settings page. | 109 // Enables or disables the opt-in IME menu in the language settings page. |
| 104 const base::Feature kOptInImeMenu{"OptInImeMenu", | 110 const base::Feature kOptInImeMenu{"OptInImeMenu", |
| 105 base::FEATURE_DISABLED_BY_DEFAULT}; | 111 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 106 | 112 |
| 107 // Enables or disables PIN quick unlock settings integration. | 113 // Enables or disables PIN quick unlock settings integration. |
| 108 const base::Feature kQuickUnlockPin{"QuickUnlockPin", | 114 const base::Feature kQuickUnlockPin{"QuickUnlockPin", |
| 109 base::FEATURE_DISABLED_BY_DEFAULT}; | 115 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 110 #endif // defined(OS_CHROMEOS) | 116 #endif // defined(OS_CHROMEOS) |
| 111 | 117 |
| 112 } // namespace features | 118 } // namespace features |
| OLD | NEW |