OLD | NEW |
---|---|
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 |
11 #include "base/feature_list.h" | 11 #include "base/feature_list.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 | 14 |
15 namespace features { | 15 namespace features { |
16 | 16 |
17 // All features in alphabetical order. The features should be documented | 17 // All features in alphabetical order. The features should be documented |
18 // alongside the definition of their values in the .cc file. | 18 // alongside the definition of their values in the .cc file. |
19 CONTENT_EXPORT extern const base::Feature kAndroidAutofillAccessibility; | |
19 CONTENT_EXPORT extern const base::Feature kAsmJsToWebAssembly; | 20 CONTENT_EXPORT extern const base::Feature kAsmJsToWebAssembly; |
20 CONTENT_EXPORT extern const base::Feature kBlockCredentialedSubresources; | 21 CONTENT_EXPORT extern const base::Feature kBlockCredentialedSubresources; |
21 CONTENT_EXPORT extern const base::Feature kBrotliEncoding; | 22 CONTENT_EXPORT extern const base::Feature kBrotliEncoding; |
22 CONTENT_EXPORT extern const base::Feature kBrowserSideNavigation; | 23 CONTENT_EXPORT extern const base::Feature kBrowserSideNavigation; |
23 CONTENT_EXPORT extern const base::Feature kCanvas2DImageChromium; | 24 CONTENT_EXPORT extern const base::Feature kCanvas2DImageChromium; |
24 CONTENT_EXPORT extern const base::Feature kCompositeOpaqueFixedPosition; | 25 CONTENT_EXPORT extern const base::Feature kCompositeOpaqueFixedPosition; |
25 CONTENT_EXPORT extern const base::Feature kCompositeOpaqueScrollers; | 26 CONTENT_EXPORT extern const base::Feature kCompositeOpaqueScrollers; |
26 CONTENT_EXPORT extern const base::Feature kCredentialManagementAPI; | 27 CONTENT_EXPORT extern const base::Feature kCredentialManagementAPI; |
27 CONTENT_EXPORT extern const base::Feature kDocumentWriteEvaluator; | 28 CONTENT_EXPORT extern const base::Feature kDocumentWriteEvaluator; |
28 CONTENT_EXPORT extern const base::Feature kExpensiveBackgroundTimerThrottling; | 29 CONTENT_EXPORT extern const base::Feature kExpensiveBackgroundTimerThrottling; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
65 CONTENT_EXPORT extern const base::Feature kWebRtcEcdsaDefault; | 66 CONTENT_EXPORT extern const base::Feature kWebRtcEcdsaDefault; |
66 CONTENT_EXPORT extern const base::Feature kWebRtcHWH264Encoding; | 67 CONTENT_EXPORT extern const base::Feature kWebRtcHWH264Encoding; |
67 CONTENT_EXPORT extern const base::Feature kWebRtcUseEchoCanceller3; | 68 CONTENT_EXPORT extern const base::Feature kWebRtcUseEchoCanceller3; |
68 CONTENT_EXPORT extern const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames; | 69 CONTENT_EXPORT extern const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames; |
69 CONTENT_EXPORT extern const base::Feature kWebUsb; | 70 CONTENT_EXPORT extern const base::Feature kWebUsb; |
70 CONTENT_EXPORT extern const base::Feature kWebVRExperimentalRendering; | 71 CONTENT_EXPORT extern const base::Feature kWebVRExperimentalRendering; |
71 CONTENT_EXPORT | 72 CONTENT_EXPORT |
72 extern const base::Feature kSendBeaconThrowForBlobWithNonSimpleType; | 73 extern const base::Feature kSendBeaconThrowForBlobWithNonSimpleType; |
73 | 74 |
74 #if defined(OS_ANDROID) | 75 #if defined(OS_ANDROID) |
75 CONTENT_EXPORT extern const base::Feature kNativeAndroidHistoryManager; | 76 CONTENT_EXPORT extern const base::Feature kNativeAndroidHistoryManager; |
cpu_(ooo_6.6-7.5)
2017/04/03 23:21:19
seems line 19 should be here?
csashi
2017/04/03 23:35:08
Done.
| |
76 CONTENT_EXPORT extern const base::Feature kImeThread; | 77 CONTENT_EXPORT extern const base::Feature kImeThread; |
77 CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid; | 78 CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid; |
78 CONTENT_EXPORT extern const base::Feature kServiceWorkerPaymentApps; | 79 CONTENT_EXPORT extern const base::Feature kServiceWorkerPaymentApps; |
79 #endif // defined(OS_ANDROID) | 80 #endif // defined(OS_ANDROID) |
80 | 81 |
81 #if !defined(OS_ANDROID) | 82 #if !defined(OS_ANDROID) |
82 CONTENT_EXPORT extern const base::Feature | 83 CONTENT_EXPORT extern const base::Feature |
83 kCrossOriginMediaPlaybackRequiresUserGesture; | 84 kCrossOriginMediaPlaybackRequiresUserGesture; |
84 #endif // !defined(OS_ANDROID) | 85 #endif // !defined(OS_ANDROID) |
85 | 86 |
86 #if defined(OS_WIN) | 87 #if defined(OS_WIN) |
87 CONTENT_EXPORT extern const base::Feature kWinSboxDisableExtensionPoints; | 88 CONTENT_EXPORT extern const base::Feature kWinSboxDisableExtensionPoints; |
88 #endif // defined(OS_WIN) | 89 #endif // defined(OS_WIN) |
89 | 90 |
90 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 91 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
91 // alphabetical order, or in one of the ifdefs (also in order in each section). | 92 // alphabetical order, or in one of the ifdefs (also in order in each section). |
92 | 93 |
93 } // namespace features | 94 } // namespace features |
94 | 95 |
95 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ | 96 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ |
OLD | NEW |