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 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
65 CONTENT_EXPORT extern const base::Feature kRenderingPipelineThrottling; | 65 CONTENT_EXPORT extern const base::Feature kRenderingPipelineThrottling; |
66 CONTENT_EXPORT extern const base::Feature | 66 CONTENT_EXPORT extern const base::Feature |
67 kRequireSecureOriginsForPepperMediaRequests; | 67 kRequireSecureOriginsForPepperMediaRequests; |
68 CONTENT_EXPORT extern const base::Feature kScrollAnchoring; | 68 CONTENT_EXPORT extern const base::Feature kScrollAnchoring; |
69 CONTENT_EXPORT extern const base::Feature kServiceWorkerNavigationPreload; | 69 CONTENT_EXPORT extern const base::Feature kServiceWorkerNavigationPreload; |
70 CONTENT_EXPORT extern const base::Feature kSharedArrayBuffer; | 70 CONTENT_EXPORT extern const base::Feature kSharedArrayBuffer; |
71 CONTENT_EXPORT extern const base::Feature kSkipCompositingSmallScrollers; | 71 CONTENT_EXPORT extern const base::Feature kSkipCompositingSmallScrollers; |
72 CONTENT_EXPORT extern const base::Feature kSlimmingPaintInvalidation; | 72 CONTENT_EXPORT extern const base::Feature kSlimmingPaintInvalidation; |
73 CONTENT_EXPORT extern const base::Feature kTimerThrottlingForHiddenFrames; | 73 CONTENT_EXPORT extern const base::Feature kTimerThrottlingForHiddenFrames; |
74 CONTENT_EXPORT extern const base::Feature kTokenBinding; | 74 CONTENT_EXPORT extern const base::Feature kTokenBinding; |
75 | |
75 CONTENT_EXPORT extern const base::Feature kTopDocumentIsolation; | 76 CONTENT_EXPORT extern const base::Feature kTopDocumentIsolation; |
77 | |
78 CONTENT_EXPORT extern const char kTopDocumentIsolationModeParam[]; | |
79 enum class TopDocumentIsolationMode { | |
80 Default = 0, | |
Łukasz Anforowicz
2017/06/30 15:28:37
Hmmm... maybe this should be spelled kDefault...
| |
81 | |
82 // Isolate all frames that are x-site from the top-level frame. | |
83 Xsite = 1, | |
84 | |
85 // Isolate frames that our heursitics recognize as ads. | |
86 Ads = 2, | |
87 }; | |
Łukasz Anforowicz
2017/06/30 15:28:37
I don't really know what is the best place for dec
Charlie Reis
2017/07/06 20:40:35
I'm not sure either. I guess it feels a bit out o
Łukasz Anforowicz
2017/07/06 21:02:29
asvitkine@ - WDYT / what would you do here? Keep
| |
88 | |
76 CONTENT_EXPORT extern const base::Feature kTouchpadAndWheelScrollLatching; | 89 CONTENT_EXPORT extern const base::Feature kTouchpadAndWheelScrollLatching; |
77 CONTENT_EXPORT extern const base::Feature kUseFeaturePolicyForPermissions; | 90 CONTENT_EXPORT extern const base::Feature kUseFeaturePolicyForPermissions; |
78 CONTENT_EXPORT extern const base::Feature kUseMojoAudioOutputStreamFactory; | 91 CONTENT_EXPORT extern const base::Feature kUseMojoAudioOutputStreamFactory; |
79 CONTENT_EXPORT extern const base::Feature kVibrateRequiresUserGesture; | 92 CONTENT_EXPORT extern const base::Feature kVibrateRequiresUserGesture; |
80 CONTENT_EXPORT extern const base::Feature kVrShell; | 93 CONTENT_EXPORT extern const base::Feature kVrShell; |
81 CONTENT_EXPORT extern const base::Feature kWebAssembly; | 94 CONTENT_EXPORT extern const base::Feature kWebAssembly; |
82 CONTENT_EXPORT extern const base::Feature kWebAssemblyStreaming; | 95 CONTENT_EXPORT extern const base::Feature kWebAssemblyStreaming; |
83 CONTENT_EXPORT extern const base::Feature kWebAssemblyTrapHandler; | 96 CONTENT_EXPORT extern const base::Feature kWebAssemblyTrapHandler; |
84 CONTENT_EXPORT extern const base::Feature kWebGLImageChromium; | 97 CONTENT_EXPORT extern const base::Feature kWebGLImageChromium; |
85 CONTENT_EXPORT extern const base::Feature kWebPayments; | 98 CONTENT_EXPORT extern const base::Feature kWebPayments; |
(...skipping 22 matching lines...) Expand all Loading... | |
108 #if defined(OS_MACOSX) | 121 #if defined(OS_MACOSX) |
109 CONTENT_EXPORT extern const base::Feature kMacV2Sandbox; | 122 CONTENT_EXPORT extern const base::Feature kMacV2Sandbox; |
110 #endif // defined(OS_MACOSX) | 123 #endif // defined(OS_MACOSX) |
111 | 124 |
112 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 125 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
113 // alphabetical order, or in one of the ifdefs (also in order in each section). | 126 // alphabetical order, or in one of the ifdefs (also in order in each section). |
114 | 127 |
115 } // namespace features | 128 } // namespace features |
116 | 129 |
117 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ | 130 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ |
OLD | NEW |