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 #include "printing/features/features.h" |
6 | 7 |
7 namespace features { | 8 namespace features { |
8 | 9 |
9 // All features in alphabetical order. | 10 // All features in alphabetical order. |
10 | 11 |
11 #if defined(OS_CHROMEOS) | 12 #if defined(OS_CHROMEOS) |
12 // Whether to handle low memory kill of ARC apps by Chrome. | 13 // Whether to handle low memory kill of ARC apps by Chrome. |
13 const base::Feature kArcMemoryManagement{ | 14 const base::Feature kArcMemoryManagement{ |
14 "ArcMemoryManagement", base::FEATURE_ENABLED_BY_DEFAULT}; | 15 "ArcMemoryManagement", base::FEATURE_ENABLED_BY_DEFAULT}; |
15 #endif // defined(OS_CHROMEOS) | 16 #endif // defined(OS_CHROMEOS) |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // Enabled or disabled the Material Design version of chrome://extensions. | 89 // Enabled or disabled the Material Design version of chrome://extensions. |
89 const base::Feature kMaterialDesignExtensions{ | 90 const base::Feature kMaterialDesignExtensions{ |
90 "MaterialDesignExtensions", base::FEATURE_DISABLED_BY_DEFAULT}; | 91 "MaterialDesignExtensions", base::FEATURE_DISABLED_BY_DEFAULT}; |
91 #endif | 92 #endif |
92 | 93 |
93 // Enables YouTube Flash videos to be overridden. | 94 // Enables YouTube Flash videos to be overridden. |
94 const base::Feature kOverrideYouTubeFlashEmbed{ | 95 const base::Feature kOverrideYouTubeFlashEmbed{ |
95 "OverrideYouTubeFlashEmbed", base::FEATURE_ENABLED_BY_DEFAULT}; | 96 "OverrideYouTubeFlashEmbed", base::FEATURE_ENABLED_BY_DEFAULT}; |
96 | 97 |
97 // Enables the Print Scaling feature in print preview. | 98 // Enables the Print Scaling feature in print preview. |
98 #if defined(ENABLE_PRINT_PREVIEW) | 99 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
99 const base::Feature kPrintScaling{"PrintScaling", | 100 const base::Feature kPrintScaling{"PrintScaling", |
100 base::FEATURE_DISABLED_BY_DEFAULT}; | 101 base::FEATURE_DISABLED_BY_DEFAULT}; |
101 #endif | 102 #endif |
102 | 103 |
103 // Enables or disables push subscriptions keeping Chrome running in the | 104 // Enables or disables push subscriptions keeping Chrome running in the |
104 // background when closed. | 105 // background when closed. |
105 const base::Feature kPushMessagingBackgroundMode{ | 106 const base::Feature kPushMessagingBackgroundMode{ |
106 "PushMessagingBackgroundMode", base::FEATURE_DISABLED_BY_DEFAULT}; | 107 "PushMessagingBackgroundMode", base::FEATURE_DISABLED_BY_DEFAULT}; |
107 | 108 |
108 // Enables or disables the Material Design version of chrome://history. | 109 // Enables or disables the Material Design version of chrome://history. |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 // Enables or disables PIN quick unlock settings integration. | 177 // Enables or disables PIN quick unlock settings integration. |
177 const base::Feature kQuickUnlockPin{"QuickUnlockPin", | 178 const base::Feature kQuickUnlockPin{"QuickUnlockPin", |
178 base::FEATURE_DISABLED_BY_DEFAULT}; | 179 base::FEATURE_DISABLED_BY_DEFAULT}; |
179 | 180 |
180 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 181 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
181 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 182 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
182 base::FEATURE_DISABLED_BY_DEFAULT}; | 183 base::FEATURE_DISABLED_BY_DEFAULT}; |
183 #endif // defined(OS_CHROMEOS) | 184 #endif // defined(OS_CHROMEOS) |
184 | 185 |
185 } // namespace features | 186 } // namespace features |
OLD | NEW |