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

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

Issue 2050033002: Revert of Remove enable/disable wheel gestures setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@can_scroll_remove
Patch Set: Created 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 298
299 // Disables WebGL rendering into a scanout buffer for overlay support. 299 // Disables WebGL rendering into a scanout buffer for overlay support.
300 const char kDisableWebGLImageChromium[] = "disable-webgl-image-chromium"; 300 const char kDisableWebGLImageChromium[] = "disable-webgl-image-chromium";
301 301
302 // Don't enforce the same-origin policy. (Used by people testing their sites.) 302 // Don't enforce the same-origin policy. (Used by people testing their sites.)
303 const char kDisableWebSecurity[] = "disable-web-security"; 303 const char kDisableWebSecurity[] = "disable-web-security";
304 304
305 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. 305 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS.
306 const char kDisableXSSAuditor[] = "disable-xss-auditor"; 306 const char kDisableXSSAuditor[] = "disable-xss-auditor";
307 307
308 // Disable gesture generation for wheel events.
309 const char kDisableWheelGestures[] = "disable-wheel-gestures";
310
308 // Disable rasterizer that writes directly to GPU memory associated with tiles. 311 // Disable rasterizer that writes directly to GPU memory associated with tiles.
309 const char kDisableZeroCopy[] = "disable-zero-copy"; 312 const char kDisableZeroCopy[] = "disable-zero-copy";
310 313
311 // Specifies if the |DOMAutomationController| needs to be bound in the 314 // Specifies if the |DOMAutomationController| needs to be bound in the
312 // renderer. This binding happens on per-frame basis and hence can potentially 315 // renderer. This binding happens on per-frame basis and hence can potentially
313 // be a performance bottleneck. One should only enable it when automating dom 316 // be a performance bottleneck. One should only enable it when automating dom
314 // based tests. 317 // based tests.
315 const char kDomAutomationController[] = "dom-automation"; 318 const char kDomAutomationController[] = "dom-automation";
316 319
317 // Causes the process to run as a download subprocess. 320 // Causes the process to run as a download subprocess.
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 509
507 // Enables WebGL extensions not yet approved by the community. 510 // Enables WebGL extensions not yet approved by the community.
508 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; 511 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions";
509 512
510 // Enables WebGL rendering into a scanout buffer for overlay support. 513 // Enables WebGL rendering into a scanout buffer for overlay support.
511 const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium"; 514 const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium";
512 515
513 // Enables interaction with virtual reality devices. 516 // Enables interaction with virtual reality devices.
514 const char kEnableWebVR[] = "enable-webvr"; 517 const char kEnableWebVR[] = "enable-webvr";
515 518
519 // Enables gesture generation for wheel events.
520 const char kEnableWheelGestures[] = "enable-wheel-gestures";
521
516 // Enable rasterizer that writes directly to GPU memory associated with tiles. 522 // Enable rasterizer that writes directly to GPU memory associated with tiles.
517 const char kEnableZeroCopy[] = "enable-zero-copy"; 523 const char kEnableZeroCopy[] = "enable-zero-copy";
518 524
519 // Enable the video decoder to draw directly to a texture. 525 // Enable the video decoder to draw directly to a texture.
520 const char kEnableZeroCopyDxgiVideo[] = "enable-zero-copy-dxgi-video"; 526 const char kEnableZeroCopyDxgiVideo[] = "enable-zero-copy-dxgi-video";
521 527
522 // Explicitly allows additional ports using a comma-separated list of port 528 // Explicitly allows additional ports using a comma-separated list of port
523 // numbers. 529 // numbers.
524 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; 530 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports";
525 531
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
1038 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1044 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1039 1045
1040 // Enables the exporting of the tracing events to ETW. This is only supported on 1046 // Enables the exporting of the tracing events to ETW. This is only supported on
1041 // Windows Vista and later. 1047 // Windows Vista and later.
1042 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1048 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1043 #endif 1049 #endif
1044 1050
1045 // Don't dump stuff here, follow the same order as the header. 1051 // Don't dump stuff here, follow the same order as the header.
1046 1052
1047 } // namespace switches 1053 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698