| 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) | 14 #if defined(OS_ANDROID) |
| 15 const base::Feature kAllowAutoplayUnmutedInWebappManifestScope{ | 15 const base::Feature kAllowAutoplayUnmutedInWebappManifestScope{ |
| 16 "AllowAutoplayUnmutedInWebappManifestScope", | 16 "AllowAutoplayUnmutedInWebappManifestScope", |
| 17 base::FEATURE_ENABLED_BY_DEFAULT}; | 17 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 18 #endif // defined(OS_ANDROID) | 18 #endif // defined(OS_ANDROID) |
| 19 | 19 |
| 20 #if defined(OS_MACOSX) | 20 #if defined(OS_MACOSX) |
| 21 // Enables Javascript execution via AppleScript. | 21 // Enables Javascript execution via AppleScript. |
| 22 const base::Feature kAppleScriptExecuteJavaScript{ | 22 const base::Feature kAppleScriptExecuteJavaScript{ |
| 23 "AppleScriptExecuteJavaScript", base::FEATURE_DISABLED_BY_DEFAULT}; | 23 "AppleScriptExecuteJavaScript", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 24 #endif // defined(OS_MACOSX) | 24 #endif // defined(OS_MACOSX) |
| 25 | 25 |
| 26 #if defined(OS_CHROMEOS) | 26 #if defined(OS_CHROMEOS) |
| 27 // Whether to handle low memory kill of ARC apps by Chrome. | 27 // Whether to handle low memory kill of ARC apps by Chrome. |
| 28 const base::Feature kArcMemoryManagement{ | 28 const base::Feature kArcMemoryManagement{ |
| 29 "ArcMemoryManagement", base::FEATURE_ENABLED_BY_DEFAULT}; | 29 "ArcMemoryManagement", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 30 #endif // defined(OS_CHROMEOS) | 30 #endif // defined(OS_CHROMEOS) |
| 31 | 31 |
| 32 // If enabled, the list of content suggestions on the New Tab page will contain | 32 // If enabled, the list of content suggestions on the New Tab page will contain |
| 33 // assets (e.g. books, pictures, audio) that the user downloaded for later use. | 33 // assets (e.g. books, pictures, audio) that the user downloaded for later use. |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 290 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
| 291 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 291 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
| 292 base::FEATURE_ENABLED_BY_DEFAULT}; | 292 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 293 | 293 |
| 294 // Enables or disables flash component updates on Chrome OS. | 294 // Enables or disables flash component updates on Chrome OS. |
| 295 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 295 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
| 296 base::FEATURE_ENABLED_BY_DEFAULT}; | 296 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 297 #endif // defined(OS_CHROMEOS) | 297 #endif // defined(OS_CHROMEOS) |
| 298 | 298 |
| 299 } // namespace features | 299 } // namespace features |
| OLD | NEW |