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

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

Issue 2134263002: Move Pepper 3D Image Chromium behind an experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_features.h" 6 #include "content/public/common/content_features.h"
7 7
8 namespace features { 8 namespace features {
9 9
10 // All features in alphabetical order. 10 // All features in alphabetical order.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 base::FEATURE_DISABLED_BY_DEFAULT}; 92 base::FEATURE_DISABLED_BY_DEFAULT};
93 93
94 // Whether document level event listeners should default 'passive' to true. 94 // Whether document level event listeners should default 'passive' to true.
95 const base::Feature kPassiveDocumentEventListeners{ 95 const base::Feature kPassiveDocumentEventListeners{
96 "PassiveDocumentEventListeners", base::FEATURE_DISABLED_BY_DEFAULT}; 96 "PassiveDocumentEventListeners", base::FEATURE_DISABLED_BY_DEFAULT};
97 97
98 // Pointer events support. 98 // Pointer events support.
99 const base::Feature kPointerEvents{"PointerEvent", 99 const base::Feature kPointerEvents{"PointerEvent",
100 base::FEATURE_DISABLED_BY_DEFAULT}; 100 base::FEATURE_DISABLED_BY_DEFAULT};
101 101
102 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is
103 // enabled.
104 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium",
105 base::FEATURE_ENABLED_BY_DEFAULT};
106
102 // Throttle Blink's rendering pipeline based on frame visibility. 107 // Throttle Blink's rendering pipeline based on frame visibility.
103 const base::Feature kRenderingPipelineThrottling{ 108 const base::Feature kRenderingPipelineThrottling{
104 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; 109 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT};
105 110
106 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). 111 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring).
107 const base::Feature kScrollAnchoring{"ScrollAnchoring", 112 const base::Feature kScrollAnchoring{"ScrollAnchoring",
108 base::FEATURE_DISABLED_BY_DEFAULT}; 113 base::FEATURE_DISABLED_BY_DEFAULT};
109 114
110 // Enables implementation of the Cache-Control: stale-while-revalidate directive 115 // Enables implementation of the Cache-Control: stale-while-revalidate directive
111 // which permits servers to allow the use of stale resources while revalidation 116 // which permits servers to allow the use of stale resources while revalidation
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 #endif 157 #endif
153 158
154 #if defined(OS_WIN) 159 #if defined(OS_WIN)
155 // Emergency "off switch" for new Windows sandbox security mitigation, 160 // Emergency "off switch" for new Windows sandbox security mitigation,
156 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 161 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
157 const base::Feature kWinSboxDisableExtensionPoints{ 162 const base::Feature kWinSboxDisableExtensionPoints{
158 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 163 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
159 #endif 164 #endif
160 165
161 } // namespace features 166 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/pepper/ppb_graphics_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698