| 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 #include "extensions/features/features.h" | 7 #include "extensions/features/features.h" |
| 8 #include "ppapi/features/features.h" | 8 #include "ppapi/features/features.h" |
| 9 | 9 |
| 10 namespace features { | 10 namespace features { |
| 11 | 11 |
| 12 // All features in alphabetical order. | 12 // All features in alphabetical order. |
| 13 | 13 |
| 14 #if defined(OS_ANDROID) |
| 15 const base::Feature kAllowAutoplayUnmutedInWebappManifestScope{ |
| 16 "AllowAutoplayUnmutedInWebappManifestScope", |
| 17 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 18 #endif // defined(OS_ANDROID) |
| 19 |
| 14 #if defined(OS_MACOSX) | 20 #if defined(OS_MACOSX) |
| 15 // Enables Javascript execution via AppleScript. | 21 // Enables Javascript execution via AppleScript. |
| 16 const base::Feature kAppleScriptExecuteJavaScript{ | 22 const base::Feature kAppleScriptExecuteJavaScript{ |
| 17 "AppleScriptExecuteJavaScript", base::FEATURE_ENABLED_BY_DEFAULT}; | 23 "AppleScriptExecuteJavaScript", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 18 #endif // defined(OS_MACOSX) | 24 #endif // defined(OS_MACOSX) |
| 19 | 25 |
| 20 #if defined(OS_CHROMEOS) | 26 #if defined(OS_CHROMEOS) |
| 21 // Whether to handle low memory kill of ARC apps by Chrome. | 27 // Whether to handle low memory kill of ARC apps by Chrome. |
| 22 const base::Feature kArcMemoryManagement{ | 28 const base::Feature kArcMemoryManagement{ |
| 23 "ArcMemoryManagement", base::FEATURE_ENABLED_BY_DEFAULT}; | 29 "ArcMemoryManagement", base::FEATURE_ENABLED_BY_DEFAULT}; |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 280 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
| 275 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 281 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
| 276 base::FEATURE_ENABLED_BY_DEFAULT}; | 282 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 277 | 283 |
| 278 // Enables or disables flash component updates on Chrome OS. | 284 // Enables or disables flash component updates on Chrome OS. |
| 279 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 285 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
| 280 base::FEATURE_ENABLED_BY_DEFAULT}; | 286 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 281 #endif // defined(OS_CHROMEOS) | 287 #endif // defined(OS_CHROMEOS) |
| 282 | 288 |
| 283 } // namespace features | 289 } // namespace features |
| OLD | NEW |