Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: chrome/common/chrome_features.cc

Issue 2698253002: [Blink>Media] Add Chrome feature for disabling autoplay unmuted in WebAPK (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_features.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/common/chrome_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698