| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 107 |
| 108 // Enables or disables the Material Design version of chrome://history. | 108 // Enables or disables the Material Design version of chrome://history. |
| 109 const base::Feature kMaterialDesignHistory{ | 109 const base::Feature kMaterialDesignHistory{ |
| 110 "MaterialDesignHistory", base::FEATURE_ENABLED_BY_DEFAULT}; | 110 "MaterialDesignHistory", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 111 | 111 |
| 112 // Enables or disables the Material Design version of chrome://settings. | 112 // Enables or disables the Material Design version of chrome://settings. |
| 113 // Also affects chrome://help. | 113 // Also affects chrome://help. |
| 114 const base::Feature kMaterialDesignSettings{ | 114 const base::Feature kMaterialDesignSettings{ |
| 115 "MaterialDesignSettings", base::FEATURE_DISABLED_BY_DEFAULT}; | 115 "MaterialDesignSettings", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 116 | 116 |
| 117 // Enables or disables modal permission prompts. |
| 118 const base::Feature kModalPermissionPrompts{"ModalPermissionPrompts", |
| 119 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 120 |
| 117 // Enables the use of native notification centers instead of using the Message | 121 // Enables the use of native notification centers instead of using the Message |
| 118 // Center for displaying the toasts. | 122 // Center for displaying the toasts. |
| 119 #if defined(OS_MACOSX) | 123 #if defined(OS_MACOSX) |
| 120 const base::Feature kNativeNotifications{"NativeNotifications", | 124 const base::Feature kNativeNotifications{"NativeNotifications", |
| 121 base::FEATURE_DISABLED_BY_DEFAULT}; | 125 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 122 #endif // defined(OS_MACOSX) | 126 #endif // defined(OS_MACOSX) |
| 123 | 127 |
| 124 #if defined(ENABLE_PLUGINS) | 128 #if defined(ENABLE_PLUGINS) |
| 125 // Prefer HTML content by hiding Flash from the list of plugins. | 129 // Prefer HTML content by hiding Flash from the list of plugins. |
| 126 // https://crbug.com/626728 | 130 // https://crbug.com/626728 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 // Enables or disables PIN quick unlock settings integration. | 180 // Enables or disables PIN quick unlock settings integration. |
| 177 const base::Feature kQuickUnlockPin{"QuickUnlockPin", | 181 const base::Feature kQuickUnlockPin{"QuickUnlockPin", |
| 178 base::FEATURE_DISABLED_BY_DEFAULT}; | 182 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 179 | 183 |
| 180 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 184 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
| 181 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 185 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
| 182 base::FEATURE_DISABLED_BY_DEFAULT}; | 186 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 183 #endif // defined(OS_CHROMEOS) | 187 #endif // defined(OS_CHROMEOS) |
| 184 | 188 |
| 185 } // namespace features | 189 } // namespace features |
| OLD | NEW |