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

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

Issue 2872743002: Add an experiment to avoid memory pressure broadcasts. (Closed)
Patch Set: Created 3 years, 7 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/browser/memory/memory_pressure_controller_impl.cc ('k') | no next file » | 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
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 19 CONTENT_EXPORT extern const base::Feature
20 kAllowContentInitiatedDataUrlNavigations; 20 kAllowContentInitiatedDataUrlNavigations;
21 CONTENT_EXPORT extern const base::Feature kAsmJsToWebAssembly; 21 CONTENT_EXPORT extern const base::Feature kAsmJsToWebAssembly;
22 CONTENT_EXPORT extern const base::Feature kBlockCredentialedSubresources; 22 CONTENT_EXPORT extern const base::Feature kBlockCredentialedSubresources;
23 CONTENT_EXPORT extern const base::Feature kBrotliEncoding; 23 CONTENT_EXPORT extern const base::Feature kBrotliEncoding;
24 CONTENT_EXPORT extern const base::Feature kBrowserSideNavigation; 24 CONTENT_EXPORT extern const base::Feature kBrowserSideNavigation;
25 CONTENT_EXPORT extern const base::Feature kCanvas2DImageChromium; 25 CONTENT_EXPORT extern const base::Feature kCanvas2DImageChromium;
26 CONTENT_EXPORT extern const base::Feature kCompositeOpaqueFixedPosition; 26 CONTENT_EXPORT extern const base::Feature kCompositeOpaqueFixedPosition;
27 CONTENT_EXPORT extern const base::Feature kCompositeOpaqueScrollers; 27 CONTENT_EXPORT extern const base::Feature kCompositeOpaqueScrollers;
28 CONTENT_EXPORT extern const base::Feature kDocumentWriteEvaluator; 28 CONTENT_EXPORT extern const base::Feature kDocumentWriteEvaluator;
29 CONTENT_EXPORT extern const base::Feature kEnableBroadcastMemoryPressure;
29 CONTENT_EXPORT extern const base::Feature kExpensiveBackgroundTimerThrottling; 30 CONTENT_EXPORT extern const base::Feature kExpensiveBackgroundTimerThrottling;
30 CONTENT_EXPORT extern const base::Feature kFeaturePolicy; 31 CONTENT_EXPORT extern const base::Feature kFeaturePolicy;
31 CONTENT_EXPORT extern const base::Feature kFilterSameOriginTinyPlugin; 32 CONTENT_EXPORT extern const base::Feature kFilterSameOriginTinyPlugin;
32 CONTENT_EXPORT extern const base::Feature kFontCacheScaling; 33 CONTENT_EXPORT extern const base::Feature kFontCacheScaling;
33 CONTENT_EXPORT extern const base::Feature 34 CONTENT_EXPORT extern const base::Feature
34 kFramebustingNeedsSameOriginOrUserGesture; 35 kFramebustingNeedsSameOriginOrUserGesture;
35 CONTENT_EXPORT extern const base::Feature kGamepadExtensions; 36 CONTENT_EXPORT extern const base::Feature kGamepadExtensions;
36 CONTENT_EXPORT extern const base::Feature kGuestViewCrossProcessFrames; 37 CONTENT_EXPORT extern const base::Feature kGuestViewCrossProcessFrames;
37 CONTENT_EXPORT extern const base::Feature kHeapCompaction; 38 CONTENT_EXPORT extern const base::Feature kHeapCompaction;
38 CONTENT_EXPORT extern const base::Feature kIdleTimeSpellChecking; 39 CONTENT_EXPORT extern const base::Feature kIdleTimeSpellChecking;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 #if defined(OS_WIN) 90 #if defined(OS_WIN)
90 CONTENT_EXPORT extern const base::Feature kWinSboxDisableExtensionPoints; 91 CONTENT_EXPORT extern const base::Feature kWinSboxDisableExtensionPoints;
91 #endif // defined(OS_WIN) 92 #endif // defined(OS_WIN)
92 93
93 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 94 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
94 // alphabetical order, or in one of the ifdefs (also in order in each section). 95 // alphabetical order, or in one of the ifdefs (also in order in each section).
95 96
96 } // namespace features 97 } // namespace features
97 98
98 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ 99 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_
OLDNEW
« no previous file with comments | « content/browser/memory/memory_pressure_controller_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698