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

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

Issue 2632903002: gpu: Pepper3DImageChromium support on ChromeOS. (Closed)
Patch Set: remove ifdef and add todo Created 3 years, 11 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 | « no previous file | content/renderer/pepper/ppb_graphics_3d_impl.h » ('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 #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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // RAF aligned mouse input events support. 170 // RAF aligned mouse input events support.
171 const base::Feature kRafAlignedMouseInputEvents{ 171 const base::Feature kRafAlignedMouseInputEvents{
172 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT}; 172 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT};
173 173
174 // RAF aligned touch input events support. 174 // RAF aligned touch input events support.
175 const base::Feature kRafAlignedTouchInputEvents{ 175 const base::Feature kRafAlignedTouchInputEvents{
176 "RafAlignedTouchInput", base::FEATURE_DISABLED_BY_DEFAULT}; 176 "RafAlignedTouchInput", base::FEATURE_DISABLED_BY_DEFAULT};
177 177
178 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is 178 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is
179 // enabled. 179 // enabled.
180 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium", 180 const base::Feature kPepper3DImageChromium {
181 base::FEATURE_ENABLED_BY_DEFAULT}; 181 "Pepper3DImageChromium",
182 #if defined(OS_MACOSX)
183 base::FEATURE_ENABLED_BY_DEFAULT
184 #else
185 base::FEATURE_DISABLED_BY_DEFAULT
186 #endif
187 };
182 188
183 // Throttle Blink's rendering pipeline based on frame visibility. 189 // Throttle Blink's rendering pipeline based on frame visibility.
184 const base::Feature kRenderingPipelineThrottling{ 190 const base::Feature kRenderingPipelineThrottling{
185 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; 191 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT};
186 192
187 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). 193 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring).
188 const base::Feature kScrollAnchoring{"ScrollAnchoring", 194 const base::Feature kScrollAnchoring{"ScrollAnchoring",
189 base::FEATURE_ENABLED_BY_DEFAULT}; 195 base::FEATURE_ENABLED_BY_DEFAULT};
190 196
191 // Navigation preload feature of service workers. 197 // Navigation preload feature of service workers.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 #endif // !defined(OS_ANDROID) 289 #endif // !defined(OS_ANDROID)
284 290
285 #if defined(OS_WIN) 291 #if defined(OS_WIN)
286 // Emergency "off switch" for new Windows sandbox security mitigation, 292 // Emergency "off switch" for new Windows sandbox security mitigation,
287 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 293 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
288 const base::Feature kWinSboxDisableExtensionPoints{ 294 const base::Feature kWinSboxDisableExtensionPoints{
289 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 295 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
290 #endif 296 #endif
291 297
292 } // namespace features 298 } // namespace features
OLDNEW
« no previous file with comments | « no previous file | content/renderer/pepper/ppb_graphics_3d_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698