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

Side by Side Diff: content/public/common/content_features.h

Issue 2496593002: Adding an experimental flag to block autoplay with sound in cross-origin iframes (Closed)
Patch Set: falling back to adding a boolean flag Created 4 years, 1 month 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // This file defines all the public base::FeatureList features for the content 5 // This file defines all the public base::FeatureList features for the content
6 // module. 6 // module.
7 7
8 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ 8 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_
9 #define CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ 9 #define CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 CONTENT_EXPORT extern const base::Feature kWebUsb; 65 CONTENT_EXPORT extern const base::Feature kWebUsb;
66 CONTENT_EXPORT 66 CONTENT_EXPORT
67 extern const base::Feature kSendBeaconThrowForBlobWithNonSimpleType; 67 extern const base::Feature kSendBeaconThrowForBlobWithNonSimpleType;
68 68
69 #if defined(OS_ANDROID) 69 #if defined(OS_ANDROID)
70 CONTENT_EXPORT extern const base::Feature kImeThread; 70 CONTENT_EXPORT extern const base::Feature kImeThread;
71 CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid; 71 CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid;
72 CONTENT_EXPORT extern const base::Feature kWebPayments; 72 CONTENT_EXPORT extern const base::Feature kWebPayments;
73 #endif // defined(OS_ANDROID) 73 #endif // defined(OS_ANDROID)
74 74
75 #if !defined(OS_ANDROID)
76 CONTENT_EXPORT extern const base::Feature
77 kCrossOriginMediaPlaybackRequiresUserGesture;
78 #endif // !defined(OS_ANDROID)
79
75 #if defined(OS_WIN) 80 #if defined(OS_WIN)
76 CONTENT_EXPORT extern const base::Feature kWinSboxDisableExtensionPoints; 81 CONTENT_EXPORT extern const base::Feature kWinSboxDisableExtensionPoints;
77 #endif // defined(OS_WIN) 82 #endif // defined(OS_WIN)
78 83
79 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 84 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
80 // alphabetical order, or in one of the ifdefs (also in order in each section). 85 // alphabetical order, or in one of the ifdefs (also in order in each section).
81 86
82 } // namespace features 87 } // namespace features
83 88
84 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ 89 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698