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

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

Issue 2450833003: Separate rAF aligned Touch and Mouse Input settings (Closed)
Patch Set: Fix nits Created 4 years, 1 month 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 // Pointer events support. 140 // Pointer events support.
141 const base::Feature kPointerEvents{"PointerEvent", 141 const base::Feature kPointerEvents{"PointerEvent",
142 base::FEATURE_ENABLED_BY_DEFAULT}; 142 base::FEATURE_ENABLED_BY_DEFAULT};
143 143
144 // Whether pointer event capturing follow v1 spec instead of v2 proposal. 144 // Whether pointer event capturing follow v1 spec instead of v2 proposal.
145 // See https://rawgit.com/w3c/pointerevents/reduce-hit-tests/index.html. 145 // See https://rawgit.com/w3c/pointerevents/reduce-hit-tests/index.html.
146 const base::Feature kPointerEventV1SpecCapturing{ 146 const base::Feature kPointerEventV1SpecCapturing{
147 "PointerEventV1SpecCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; 147 "PointerEventV1SpecCapturing", base::FEATURE_DISABLED_BY_DEFAULT};
148 148
149 // RAF aligned input events support. 149 // RAF aligned mouse input events support.
150 const base::Feature kRafAlignedInputEvents{"RafAlignedInput", 150 const base::Feature kRafAlignedMouseInputEvents{
151 base::FEATURE_DISABLED_BY_DEFAULT}; 151 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT};
152
153 // RAF aligned touch input events support.
154 const base::Feature kRafAlignedTouchInputEvents{
155 "RafAlignedTouchInput", base::FEATURE_DISABLED_BY_DEFAULT};
152 156
153 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is 157 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is
154 // enabled. 158 // enabled.
155 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium", 159 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium",
156 base::FEATURE_ENABLED_BY_DEFAULT}; 160 base::FEATURE_ENABLED_BY_DEFAULT};
157 161
158 // Throttle Blink's rendering pipeline based on frame visibility. 162 // Throttle Blink's rendering pipeline based on frame visibility.
159 const base::Feature kRenderingPipelineThrottling{ 163 const base::Feature kRenderingPipelineThrottling{
160 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; 164 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT};
161 165
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 #endif 250 #endif
247 251
248 #if defined(OS_WIN) 252 #if defined(OS_WIN)
249 // Emergency "off switch" for new Windows sandbox security mitigation, 253 // Emergency "off switch" for new Windows sandbox security mitigation,
250 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 254 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
251 const base::Feature kWinSboxDisableExtensionPoints{ 255 const base::Feature kWinSboxDisableExtensionPoints{
252 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 256 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
253 #endif 257 #endif
254 258
255 } // namespace features 259 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/input/main_thread_event_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698