| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) | 56 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 57 // Enables showing the "This computer will no longer receive Google Chrome | 57 // Enables showing the "This computer will no longer receive Google Chrome |
| 58 // updates" infobar instead of the "will soon stop receiving" infobar on | 58 // updates" infobar instead of the "will soon stop receiving" infobar on |
| 59 // deprecated systems. | 59 // deprecated systems. |
| 60 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ | 60 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ |
| 61 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; | 61 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 62 #endif | 62 #endif |
| 63 | 63 |
| 64 // Enables YouTube Flash videos to be overriden. |
| 65 const base::Feature kOverrideYouTubeFlashEmbed{"override-youtube-flash-emed", |
| 66 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 67 |
| 64 // Enables or disables the Material Design version of chrome://history. | 68 // Enables or disables the Material Design version of chrome://history. |
| 65 const base::Feature kMaterialDesignHistoryFeature { | 69 const base::Feature kMaterialDesignHistoryFeature { |
| 66 "MaterialDesignHistory", base::FEATURE_ENABLED_BY_DEFAULT | 70 "MaterialDesignHistory", base::FEATURE_ENABLED_BY_DEFAULT |
| 67 }; | 71 }; |
| 68 | 72 |
| 69 // Enables or disables the Material Design version of chrome://settings. | 73 // Enables or disables the Material Design version of chrome://settings. |
| 70 // Also affects chrome://help. | 74 // Also affects chrome://help. |
| 71 const base::Feature kMaterialDesignSettingsFeature{ | 75 const base::Feature kMaterialDesignSettingsFeature{ |
| 72 "MaterialDesignSettings", base::FEATURE_DISABLED_BY_DEFAULT}; | 76 "MaterialDesignSettings", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 73 | 77 |
| (...skipping 33 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. | 111 // Enables or disables the opt-in IME menu in the language settings page. |
| 108 const base::Feature kOptInImeMenu{"OptInImeMenu", | 112 const base::Feature kOptInImeMenu{"OptInImeMenu", |
| 109 base::FEATURE_DISABLED_BY_DEFAULT}; | 113 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 110 | 114 |
| 111 // Enables or disables PIN quick unlock settings integration. | 115 // Enables or disables PIN quick unlock settings integration. |
| 112 const base::Feature kQuickUnlockPin{"QuickUnlockPin", | 116 const base::Feature kQuickUnlockPin{"QuickUnlockPin", |
| 113 base::FEATURE_DISABLED_BY_DEFAULT}; | 117 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 114 #endif // defined(OS_CHROMEOS) | 118 #endif // defined(OS_CHROMEOS) |
| 115 | 119 |
| 116 } // namespace features | 120 } // namespace features |
| OLD | NEW |