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

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

Issue 2525973002: Remove the pointer event capturing flag (Closed)
Patch Set: Created 4 years 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 // Whether we should force a touchstart and first touchmove per scroll event 137 // Whether we should force a touchstart and first touchmove per scroll event
138 // listeners to be 'passive' during fling. 138 // listeners to be 'passive' during fling.
139 const base::Feature kPassiveEventListenersDueToFling{ 139 const base::Feature kPassiveEventListenersDueToFling{
140 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT}; 140 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT};
141 141
142 // Pointer events support. 142 // Pointer events support.
143 const base::Feature kPointerEvents{"PointerEvent", 143 const base::Feature kPointerEvents{"PointerEvent",
144 base::FEATURE_ENABLED_BY_DEFAULT}; 144 base::FEATURE_ENABLED_BY_DEFAULT};
145 145
146 // Whether pointer event capturing follow v1 spec instead of v2 proposal.
147 // See https://rawgit.com/w3c/pointerevents/reduce-hit-tests/index.html.
148 const base::Feature kPointerEventV1SpecCapturing{
149 "PointerEventV1SpecCapturing", base::FEATURE_DISABLED_BY_DEFAULT};
150
151 // Enables purge and suspend. 146 // Enables purge and suspend.
152 const base::Feature kPurgeAndSuspend{"PurgeAndSuspend", 147 const base::Feature kPurgeAndSuspend{"PurgeAndSuspend",
153 base::FEATURE_DISABLED_BY_DEFAULT}; 148 base::FEATURE_DISABLED_BY_DEFAULT};
154 149
155 // RAF aligned mouse input events support. 150 // RAF aligned mouse input events support.
156 const base::Feature kRafAlignedMouseInputEvents{ 151 const base::Feature kRafAlignedMouseInputEvents{
157 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT}; 152 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT};
158 153
159 // RAF aligned touch input events support. 154 // RAF aligned touch input events support.
160 const base::Feature kRafAlignedTouchInputEvents{ 155 const base::Feature kRafAlignedTouchInputEvents{
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 #endif 250 #endif
256 251
257 #if defined(OS_WIN) 252 #if defined(OS_WIN)
258 // Emergency "off switch" for new Windows sandbox security mitigation, 253 // Emergency "off switch" for new Windows sandbox security mitigation,
259 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 254 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
260 const base::Feature kWinSboxDisableExtensionPoints{ 255 const base::Feature kWinSboxDisableExtensionPoints{
261 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 256 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
262 #endif 257 #endif
263 258
264 } // namespace features 259 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698