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

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

Issue 2289183005: [WeakMemoryCache] Cleanup Field-Trial code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase error fix Created 4 years, 3 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
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
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 kBrotliEncoding; 19 CONTENT_EXPORT extern const base::Feature kBrotliEncoding;
20 CONTENT_EXPORT extern const base::Feature kCanvas2DImageChromium; 20 CONTENT_EXPORT extern const base::Feature kCanvas2DImageChromium;
21 CONTENT_EXPORT extern const base::Feature kCredentialManagementAPI; 21 CONTENT_EXPORT extern const base::Feature kCredentialManagementAPI;
22 CONTENT_EXPORT extern const base::Feature kDefaultEnableGpuRasterization; 22 CONTENT_EXPORT extern const base::Feature kDefaultEnableGpuRasterization;
23 CONTENT_EXPORT extern const base::Feature kDoNotUnlockSharedBuffer;
24 CONTENT_EXPORT extern const base::Feature kDocumentWriteEvaluator; 23 CONTENT_EXPORT extern const base::Feature kDocumentWriteEvaluator;
25 CONTENT_EXPORT extern const base::Feature kFeaturePolicy; 24 CONTENT_EXPORT extern const base::Feature kFeaturePolicy;
26 CONTENT_EXPORT extern const base::Feature kFontCacheScaling; 25 CONTENT_EXPORT extern const base::Feature kFontCacheScaling;
27 CONTENT_EXPORT extern const base::Feature kMainFrameBeforeActivation; 26 CONTENT_EXPORT extern const base::Feature kMainFrameBeforeActivation;
28 CONTENT_EXPORT extern const base::Feature kMediaDocumentDownloadButton; 27 CONTENT_EXPORT extern const base::Feature kMediaDocumentDownloadButton;
29 CONTENT_EXPORT extern const base::Feature kNewMediaPlaybackUi; 28 CONTENT_EXPORT extern const base::Feature kNewMediaPlaybackUi;
30 CONTENT_EXPORT extern const base::Feature kNonValidatingReloadOnNormalReload; 29 CONTENT_EXPORT extern const base::Feature kNonValidatingReloadOnNormalReload;
31 CONTENT_EXPORT extern const base::Feature kNonValidatingReloadOnRefreshContent; 30 CONTENT_EXPORT extern const base::Feature kNonValidatingReloadOnRefreshContent;
32 CONTENT_EXPORT extern const base::Feature kOptimizeLoadingIPCForSmallResources; 31 CONTENT_EXPORT extern const base::Feature kOptimizeLoadingIPCForSmallResources;
33 CONTENT_EXPORT extern const base::Feature kOriginTrials; 32 CONTENT_EXPORT extern const base::Feature kOriginTrials;
34 CONTENT_EXPORT extern const base::Feature kParseHTMLOnMainThread; 33 CONTENT_EXPORT extern const base::Feature kParseHTMLOnMainThread;
35 CONTENT_EXPORT extern const base::Feature kPassiveDocumentEventListeners; 34 CONTENT_EXPORT extern const base::Feature kPassiveDocumentEventListeners;
36 CONTENT_EXPORT extern const base::Feature kPassiveEventListenersDueToFling; 35 CONTENT_EXPORT extern const base::Feature kPassiveEventListenersDueToFling;
37 CONTENT_EXPORT extern const base::Feature kPepper3DImageChromium; 36 CONTENT_EXPORT extern const base::Feature kPepper3DImageChromium;
38 CONTENT_EXPORT extern const base::Feature kPointerEvents; 37 CONTENT_EXPORT extern const base::Feature kPointerEvents;
39 CONTENT_EXPORT extern const base::Feature kRafAlignedInputEvents; 38 CONTENT_EXPORT extern const base::Feature kRafAlignedInputEvents;
40 CONTENT_EXPORT extern const base::Feature kRenderingPipelineThrottling; 39 CONTENT_EXPORT extern const base::Feature kRenderingPipelineThrottling;
41 CONTENT_EXPORT extern const base::Feature kScrollAnchoring; 40 CONTENT_EXPORT extern const base::Feature kScrollAnchoring;
42 CONTENT_EXPORT extern const base::Feature kSpeculativeLaunchServiceWorker; 41 CONTENT_EXPORT extern const base::Feature kSpeculativeLaunchServiceWorker;
43 CONTENT_EXPORT extern const base::Feature kStaleWhileRevalidate; 42 CONTENT_EXPORT extern const base::Feature kStaleWhileRevalidate;
44 CONTENT_EXPORT extern const base::Feature kTimerThrottlingForHiddenFrames; 43 CONTENT_EXPORT extern const base::Feature kTimerThrottlingForHiddenFrames;
45 CONTENT_EXPORT extern const base::Feature kTokenBinding; 44 CONTENT_EXPORT extern const base::Feature kTokenBinding;
46 CONTENT_EXPORT extern const base::Feature kTouchpadAndWheelScrollLatching; 45 CONTENT_EXPORT extern const base::Feature kTouchpadAndWheelScrollLatching;
47 CONTENT_EXPORT extern const base::Feature kWeakMemoryCache;
48 CONTENT_EXPORT extern const base::Feature kWebGLImageChromium; 46 CONTENT_EXPORT extern const base::Feature kWebGLImageChromium;
49 CONTENT_EXPORT extern const base::Feature kWebRtcEcdsaDefault; 47 CONTENT_EXPORT extern const base::Feature kWebRtcEcdsaDefault;
50 CONTENT_EXPORT extern const base::Feature kWebUsb; 48 CONTENT_EXPORT extern const base::Feature kWebUsb;
51 CONTENT_EXPORT 49 CONTENT_EXPORT
52 extern const base::Feature kSendBeaconThrowForBlobWithNonSimpleType; 50 extern const base::Feature kSendBeaconThrowForBlobWithNonSimpleType;
53 51
54 #if defined(OS_ANDROID) 52 #if defined(OS_ANDROID)
55 CONTENT_EXPORT extern const base::Feature kAutoplayMutedVideos; 53 CONTENT_EXPORT extern const base::Feature kAutoplayMutedVideos;
56 CONTENT_EXPORT extern const base::Feature kImeThread; 54 CONTENT_EXPORT extern const base::Feature kImeThread;
57 CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid; 55 CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid;
58 CONTENT_EXPORT extern const base::Feature kWebPayments; 56 CONTENT_EXPORT extern const base::Feature kWebPayments;
59 #endif // defined(OS_ANDROID) 57 #endif // defined(OS_ANDROID)
60 58
61 #if defined(OS_WIN) 59 #if defined(OS_WIN)
62 CONTENT_EXPORT extern const base::Feature kWinSboxDisableExtensionPoints; 60 CONTENT_EXPORT extern const base::Feature kWinSboxDisableExtensionPoints;
63 #endif // defined(OS_WIN) 61 #endif // defined(OS_WIN)
64 62
65 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 63 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
66 // alphabetical order, or in one of the ifdefs (also in order in each section). 64 // alphabetical order, or in one of the ifdefs (also in order in each section).
67 65
68 } // namespace features 66 } // namespace features
69 67
70 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ 68 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698