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

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

Issue 2283013002: Adding chrome flag to disable implicit capture (Closed)
Patch Set: Addressing comments about comments :) Created 4 years, 3 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 // Whether we should force a touchstart and first touchmove per scroll event 99 // Whether we should force a touchstart and first touchmove per scroll event
100 // listeners to be 'passive' during fling. 100 // listeners to be 'passive' during fling.
101 const base::Feature kPassiveEventListenersDueToFling{ 101 const base::Feature kPassiveEventListenersDueToFling{
102 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT}; 102 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT};
103 103
104 // Pointer events support. 104 // Pointer events support.
105 const base::Feature kPointerEvents{"PointerEvent", 105 const base::Feature kPointerEvents{"PointerEvent",
106 base::FEATURE_DISABLED_BY_DEFAULT}; 106 base::FEATURE_DISABLED_BY_DEFAULT};
107 107
108 // Whether pointer event capturing follow v1 spec instead of v2 proposal.
109 // See https://rawgit.com/w3c/pointerevents/reduce-hit-tests/index.html.
110 const base::Feature kPointerEventV1SpecCapturing{
111 "PointerEventV1SpecCapturing", base::FEATURE_DISABLED_BY_DEFAULT};
112
108 // RAF aligned input events support. 113 // RAF aligned input events support.
109 const base::Feature kRafAlignedInputEvents{"RafAlignedInput", 114 const base::Feature kRafAlignedInputEvents{"RafAlignedInput",
110 base::FEATURE_DISABLED_BY_DEFAULT}; 115 base::FEATURE_DISABLED_BY_DEFAULT};
111 116
112 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is 117 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is
113 // enabled. 118 // enabled.
114 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium", 119 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium",
115 base::FEATURE_ENABLED_BY_DEFAULT}; 120 base::FEATURE_ENABLED_BY_DEFAULT};
116 121
117 // Throttle Blink's rendering pipeline based on frame visibility. 122 // Throttle Blink's rendering pipeline based on frame visibility.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 #endif 194 #endif
190 195
191 #if defined(OS_WIN) 196 #if defined(OS_WIN)
192 // Emergency "off switch" for new Windows sandbox security mitigation, 197 // Emergency "off switch" for new Windows sandbox security mitigation,
193 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 198 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
194 const base::Feature kWinSboxDisableExtensionPoints{ 199 const base::Feature kWinSboxDisableExtensionPoints{
195 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 200 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
196 #endif 201 #endif
197 202
198 } // namespace features 203 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/Source/core/input/PointerEventManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698