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

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

Issue 2283013002: Adding chrome flag to disable implicit capture (Closed)
Patch Set: 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 "PassiveDocumentEventListeners", base::FEATURE_DISABLED_BY_DEFAULT}; 101 "PassiveDocumentEventListeners", base::FEATURE_DISABLED_BY_DEFAULT};
102 102
103 // Whether we should force a touchstart and first touchmove per scroll event 103 // Whether we should force a touchstart and first touchmove per scroll event
104 // listeners to be 'passive' during fling. 104 // listeners to be 'passive' during fling.
105 const base::Feature kPassiveEventListenersDueToFling{ 105 const base::Feature kPassiveEventListenersDueToFling{
106 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT}; 106 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT};
107 107
108 // Pointer events support. 108 // Pointer events support.
109 const base::Feature kPointerEvents{"PointerEvent", 109 const base::Feature kPointerEvents{"PointerEvent",
110 base::FEATURE_DISABLED_BY_DEFAULT}; 110 base::FEATURE_DISABLED_BY_DEFAULT};
111 // Pointer events no implicit capture
Alexei Svitkine (slow) 2016/08/30 19:24:58 Full sentence please.
Navid Zolghadr 2016/08/31 15:18:35 Done.
112 const base::Feature kPointerEventsNoImplicitCapture{
113 "PointerEventNoImplicitCapture", base::FEATURE_DISABLED_BY_DEFAULT};
Alexei Svitkine (slow) 2016/08/30 19:24:58 Would it make more sense to have the feature be "I
Navid Zolghadr 2016/08/30 19:44:50 I'm going to change the name to kPointerEventV1Spe
111 114
112 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is 115 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is
113 // enabled. 116 // enabled.
114 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium", 117 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium",
115 base::FEATURE_ENABLED_BY_DEFAULT}; 118 base::FEATURE_ENABLED_BY_DEFAULT};
116 119
117 // Throttle Blink's rendering pipeline based on frame visibility. 120 // Throttle Blink's rendering pipeline based on frame visibility.
118 const base::Feature kRenderingPipelineThrottling{ 121 const base::Feature kRenderingPipelineThrottling{
119 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; 122 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT};
120 123
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 #endif 188 #endif
186 189
187 #if defined(OS_WIN) 190 #if defined(OS_WIN)
188 // Emergency "off switch" for new Windows sandbox security mitigation, 191 // Emergency "off switch" for new Windows sandbox security mitigation,
189 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 192 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
190 const base::Feature kWinSboxDisableExtensionPoints{ 193 const base::Feature kWinSboxDisableExtensionPoints{
191 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 194 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
192 #endif 195 #endif
193 196
194 } // namespace features 197 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698