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

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

Issue 2921923002: Remove chrome://flag enable-pointer-events (Closed)
Patch Set: Rebase Created 3 years, 6 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 | « content/child/runtime_features.cc ('k') | testing/variations/fieldtrial_testing_config.json » ('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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 // Whether document level event listeners should default 'passive' to true. 169 // Whether document level event listeners should default 'passive' to true.
170 const base::Feature kPassiveDocumentEventListeners{ 170 const base::Feature kPassiveDocumentEventListeners{
171 "PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT}; 171 "PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT};
172 172
173 // Whether we should force a touchstart and first touchmove per scroll event 173 // Whether we should force a touchstart and first touchmove per scroll event
174 // listeners to be non-blocking during fling. 174 // listeners to be non-blocking during fling.
175 const base::Feature kPassiveEventListenersDueToFling{ 175 const base::Feature kPassiveEventListenersDueToFling{
176 "PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT}; 176 "PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT};
177 177
178 // Pointer events support.
179 const base::Feature kPointerEvents{"PointerEvent",
180 base::FEATURE_ENABLED_BY_DEFAULT};
181
182 // Enables Purge+Throttle on platforms except Android and MacOS. 178 // Enables Purge+Throttle on platforms except Android and MacOS.
183 // (Android) Purge+Throttle depends on TabManager, but TabManager doesn't 179 // (Android) Purge+Throttle depends on TabManager, but TabManager doesn't
184 // support Android. Enable after Android is supported. 180 // support Android. Enable after Android is supported.
185 // (MacOS X) Enable after Purge+Throttle handles memory pressure signals 181 // (MacOS X) Enable after Purge+Throttle handles memory pressure signals
186 // send by OS correctly. 182 // send by OS correctly.
187 const base::Feature kPurgeAndSuspend { 183 const base::Feature kPurgeAndSuspend {
188 "PurgeAndSuspend", 184 "PurgeAndSuspend",
189 #if defined(OS_MACOSX) || defined(OS_ANDROID) 185 #if defined(OS_MACOSX) || defined(OS_ANDROID)
190 base::FEATURE_DISABLED_BY_DEFAULT 186 base::FEATURE_DISABLED_BY_DEFAULT
191 #else 187 #else
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 #endif 355 #endif
360 356
361 #if defined(OS_WIN) 357 #if defined(OS_WIN)
362 // Emergency "off switch" for new Windows sandbox security mitigation, 358 // Emergency "off switch" for new Windows sandbox security mitigation,
363 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 359 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
364 const base::Feature kWinSboxDisableExtensionPoints{ 360 const base::Feature kWinSboxDisableExtensionPoints{
365 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 361 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
366 #endif 362 #endif
367 363
368 } // namespace features 364 } // namespace features
OLDNEW
« no previous file with comments | « content/child/runtime_features.cc ('k') | testing/variations/fieldtrial_testing_config.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698