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

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

Issue 2125683002: Add option to force document level passive event listeners as a runtime feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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 | « content/child/runtime_features.cc ('k') | content/public/common/content_features.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 14 matching lines...) Expand all
25 CONTENT_EXPORT extern const base::Feature kFontCacheScaling; 25 CONTENT_EXPORT extern const base::Feature kFontCacheScaling;
26 CONTENT_EXPORT extern const base::Feature kMainFrameBeforeActivation; 26 CONTENT_EXPORT extern const base::Feature kMainFrameBeforeActivation;
27 CONTENT_EXPORT extern const base::Feature kMediaDocumentDownloadButton; 27 CONTENT_EXPORT extern const base::Feature kMediaDocumentDownloadButton;
28 CONTENT_EXPORT extern const base::Feature kNewMediaPlaybackUi; 28 CONTENT_EXPORT extern const base::Feature kNewMediaPlaybackUi;
29 CONTENT_EXPORT extern const base::Feature kNonValidatingReloadOnNormalReload; 29 CONTENT_EXPORT extern const base::Feature kNonValidatingReloadOnNormalReload;
30 CONTENT_EXPORT extern const base::Feature kNonValidatingReloadOnRefreshContent; 30 CONTENT_EXPORT extern const base::Feature kNonValidatingReloadOnRefreshContent;
31 CONTENT_EXPORT extern const base::Feature kOptimizeLoadingIPCForSmallResources; 31 CONTENT_EXPORT extern const base::Feature kOptimizeLoadingIPCForSmallResources;
32 CONTENT_EXPORT extern const base::Feature kOriginTrials; 32 CONTENT_EXPORT extern const base::Feature kOriginTrials;
33 CONTENT_EXPORT extern const base::Feature kPaintOptimizations; 33 CONTENT_EXPORT extern const base::Feature kPaintOptimizations;
34 CONTENT_EXPORT extern const base::Feature kParseHTMLOnMainThread; 34 CONTENT_EXPORT extern const base::Feature kParseHTMLOnMainThread;
35 CONTENT_EXPORT extern const base::Feature kPassiveDocumentEventListeners;
35 CONTENT_EXPORT extern const base::Feature kPointerEvents; 36 CONTENT_EXPORT extern const base::Feature kPointerEvents;
36 CONTENT_EXPORT extern const base::Feature kRenderingPipelineThrottling; 37 CONTENT_EXPORT extern const base::Feature kRenderingPipelineThrottling;
37 CONTENT_EXPORT extern const base::Feature kScrollAnchoring; 38 CONTENT_EXPORT extern const base::Feature kScrollAnchoring;
38 CONTENT_EXPORT extern const base::Feature kStaleWhileRevalidate; 39 CONTENT_EXPORT extern const base::Feature kStaleWhileRevalidate;
39 CONTENT_EXPORT extern const base::Feature kTokenBinding; 40 CONTENT_EXPORT extern const base::Feature kTokenBinding;
40 CONTENT_EXPORT extern const base::Feature kWeakMemoryCache; 41 CONTENT_EXPORT extern const base::Feature kWeakMemoryCache;
41 CONTENT_EXPORT extern const base::Feature kWebGLImageChromium; 42 CONTENT_EXPORT extern const base::Feature kWebGLImageChromium;
42 CONTENT_EXPORT extern const base::Feature kWebRtcEcdsaDefault; 43 CONTENT_EXPORT extern const base::Feature kWebRtcEcdsaDefault;
43 CONTENT_EXPORT extern const base::Feature kWebUsb; 44 CONTENT_EXPORT extern const base::Feature kWebUsb;
44 45
45 #if defined(OS_ANDROID) 46 #if defined(OS_ANDROID)
46 CONTENT_EXPORT extern const base::Feature kAutoplayMutedVideos; 47 CONTENT_EXPORT extern const base::Feature kAutoplayMutedVideos;
47 CONTENT_EXPORT extern const base::Feature kImeThread; 48 CONTENT_EXPORT extern const base::Feature kImeThread;
48 CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid; 49 CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid;
49 #endif // defined(OS_ANDROID) 50 #endif // defined(OS_ANDROID)
50 51
51 #if defined(OS_WIN) 52 #if defined(OS_WIN)
52 CONTENT_EXPORT extern const base::Feature kWinSboxDisableExtensionPoints; 53 CONTENT_EXPORT extern const base::Feature kWinSboxDisableExtensionPoints;
53 #endif // defined(OS_WIN) 54 #endif // defined(OS_WIN)
54 55
55 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 56 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
56 // alphabetical order, or in one of the ifdefs (also in order in each section). 57 // alphabetical order, or in one of the ifdefs (also in order in each section).
57 58
58 } // namespace features 59 } // namespace features
59 60
60 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ 61 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_
OLDNEW
« no previous file with comments | « content/child/runtime_features.cc ('k') | content/public/common/content_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698