| 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 kAsmJsToWebAssembly; |
| 19 CONTENT_EXPORT extern const base::Feature kBrotliEncoding; | 20 CONTENT_EXPORT extern const base::Feature kBrotliEncoding; |
| 20 CONTENT_EXPORT extern const base::Feature kCanvas2DImageChromium; | 21 CONTENT_EXPORT extern const base::Feature kCanvas2DImageChromium; |
| 21 CONTENT_EXPORT extern const base::Feature kCompositeOpaqueScrollers; | 22 CONTENT_EXPORT extern const base::Feature kCompositeOpaqueScrollers; |
| 22 CONTENT_EXPORT extern const base::Feature kCredentialManagementAPI; | 23 CONTENT_EXPORT extern const base::Feature kCredentialManagementAPI; |
| 23 CONTENT_EXPORT extern const base::Feature kDefaultEnableGpuRasterization; | 24 CONTENT_EXPORT extern const base::Feature kDefaultEnableGpuRasterization; |
| 24 CONTENT_EXPORT extern const base::Feature kDocumentWriteEvaluator; | 25 CONTENT_EXPORT extern const base::Feature kDocumentWriteEvaluator; |
| 25 CONTENT_EXPORT extern const base::Feature kExpensiveBackgroundTimerThrottling; | 26 CONTENT_EXPORT extern const base::Feature kExpensiveBackgroundTimerThrottling; |
| 26 CONTENT_EXPORT extern const base::Feature kFeaturePolicy; | 27 CONTENT_EXPORT extern const base::Feature kFeaturePolicy; |
| 27 CONTENT_EXPORT extern const base::Feature kFontCacheScaling; | 28 CONTENT_EXPORT extern const base::Feature kFontCacheScaling; |
| 28 CONTENT_EXPORT extern const base::Feature | 29 CONTENT_EXPORT extern const base::Feature |
| (...skipping 13 matching lines...) Expand all Loading... |
| 42 CONTENT_EXPORT extern const base::Feature kPointerEvents; | 43 CONTENT_EXPORT extern const base::Feature kPointerEvents; |
| 43 CONTENT_EXPORT extern const base::Feature kPointerEventV1SpecCapturing; | 44 CONTENT_EXPORT extern const base::Feature kPointerEventV1SpecCapturing; |
| 44 CONTENT_EXPORT extern const base::Feature kRafAlignedInputEvents; | 45 CONTENT_EXPORT extern const base::Feature kRafAlignedInputEvents; |
| 45 CONTENT_EXPORT extern const base::Feature kRenderingPipelineThrottling; | 46 CONTENT_EXPORT extern const base::Feature kRenderingPipelineThrottling; |
| 46 CONTENT_EXPORT extern const base::Feature kScrollAnchoring; | 47 CONTENT_EXPORT extern const base::Feature kScrollAnchoring; |
| 47 CONTENT_EXPORT extern const base::Feature kSpeculativeLaunchServiceWorker; | 48 CONTENT_EXPORT extern const base::Feature kSpeculativeLaunchServiceWorker; |
| 48 CONTENT_EXPORT extern const base::Feature kStaleWhileRevalidate; | 49 CONTENT_EXPORT extern const base::Feature kStaleWhileRevalidate; |
| 49 CONTENT_EXPORT extern const base::Feature kTimerThrottlingForHiddenFrames; | 50 CONTENT_EXPORT extern const base::Feature kTimerThrottlingForHiddenFrames; |
| 50 CONTENT_EXPORT extern const base::Feature kTokenBinding; | 51 CONTENT_EXPORT extern const base::Feature kTokenBinding; |
| 51 CONTENT_EXPORT extern const base::Feature kTouchpadAndWheelScrollLatching; | 52 CONTENT_EXPORT extern const base::Feature kTouchpadAndWheelScrollLatching; |
| 53 CONTENT_EXPORT extern const base::Feature kWebAssembly; |
| 52 CONTENT_EXPORT extern const base::Feature kWebGLImageChromium; | 54 CONTENT_EXPORT extern const base::Feature kWebGLImageChromium; |
| 53 CONTENT_EXPORT extern const base::Feature kWebRtcEcdsaDefault; | 55 CONTENT_EXPORT extern const base::Feature kWebRtcEcdsaDefault; |
| 54 CONTENT_EXPORT extern const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames; | 56 CONTENT_EXPORT extern const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames; |
| 55 CONTENT_EXPORT extern const base::Feature kWebUsb; | 57 CONTENT_EXPORT extern const base::Feature kWebUsb; |
| 56 CONTENT_EXPORT | 58 CONTENT_EXPORT |
| 57 extern const base::Feature kSendBeaconThrowForBlobWithNonSimpleType; | 59 extern const base::Feature kSendBeaconThrowForBlobWithNonSimpleType; |
| 58 | 60 |
| 59 #if defined(OS_ANDROID) | 61 #if defined(OS_ANDROID) |
| 60 CONTENT_EXPORT extern const base::Feature kAutoplayMutedVideos; | 62 CONTENT_EXPORT extern const base::Feature kAutoplayMutedVideos; |
| 61 CONTENT_EXPORT extern const base::Feature kImeThread; | 63 CONTENT_EXPORT extern const base::Feature kImeThread; |
| 62 CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid; | 64 CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid; |
| 63 CONTENT_EXPORT extern const base::Feature kWebPayments; | 65 CONTENT_EXPORT extern const base::Feature kWebPayments; |
| 64 #endif // defined(OS_ANDROID) | 66 #endif // defined(OS_ANDROID) |
| 65 | 67 |
| 66 #if defined(OS_WIN) | 68 #if defined(OS_WIN) |
| 67 CONTENT_EXPORT extern const base::Feature kWinSboxDisableExtensionPoints; | 69 CONTENT_EXPORT extern const base::Feature kWinSboxDisableExtensionPoints; |
| 68 #endif // defined(OS_WIN) | 70 #endif // defined(OS_WIN) |
| 69 | 71 |
| 70 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 72 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 71 // alphabetical order, or in one of the ifdefs (also in order in each section). | 73 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 72 | 74 |
| 73 } // namespace features | 75 } // namespace features |
| 74 | 76 |
| 75 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ | 77 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ |
| OLD | NEW |