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

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

Issue 2047093002: Remove enable/disable wheel gestures setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@can_scroll_remove
Patch Set: Remove unused, uninitialized variable on mac causing occasional failure 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
311 // Disable rasterizer that writes directly to GPU memory associated with tiles. 308 // Disable rasterizer that writes directly to GPU memory associated with tiles.
312 const char kDisableZeroCopy[] = "disable-zero-copy"; 309 const char kDisableZeroCopy[] = "disable-zero-copy";
313 310
314 // Specifies if the |DOMAutomationController| needs to be bound in the 311 // Specifies if the |DOMAutomationController| needs to be bound in the
315 // renderer. This binding happens on per-frame basis and hence can potentially 312 // renderer. This binding happens on per-frame basis and hence can potentially
316 // be a performance bottleneck. One should only enable it when automating dom 313 // be a performance bottleneck. One should only enable it when automating dom
317 // based tests. 314 // based tests.
318 const char kDomAutomationController[] = "dom-automation"; 315 const char kDomAutomationController[] = "dom-automation";
319 316
320 // Causes the process to run as a download subprocess. 317 // Causes the process to run as a download subprocess.
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 506
510 // Enables WebGL extensions not yet approved by the community. 507 // Enables WebGL extensions not yet approved by the community.
511 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; 508 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions";
512 509
513 // Enables WebGL rendering into a scanout buffer for overlay support. 510 // Enables WebGL rendering into a scanout buffer for overlay support.
514 const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium"; 511 const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium";
515 512
516 // Enables interaction with virtual reality devices. 513 // Enables interaction with virtual reality devices.
517 const char kEnableWebVR[] = "enable-webvr"; 514 const char kEnableWebVR[] = "enable-webvr";
518 515
519 // Enables gesture generation for wheel events.
520 const char kEnableWheelGestures[] = "enable-wheel-gestures";
521
522 // Enable rasterizer that writes directly to GPU memory associated with tiles. 516 // Enable rasterizer that writes directly to GPU memory associated with tiles.
523 const char kEnableZeroCopy[] = "enable-zero-copy"; 517 const char kEnableZeroCopy[] = "enable-zero-copy";
524 518
525 // Enable the video decoder to draw directly to a texture. 519 // Enable the video decoder to draw directly to a texture.
526 const char kEnableZeroCopyDxgiVideo[] = "enable-zero-copy-dxgi-video"; 520 const char kEnableZeroCopyDxgiVideo[] = "enable-zero-copy-dxgi-video";
527 521
528 // Explicitly allows additional ports using a comma-separated list of port 522 // Explicitly allows additional ports using a comma-separated list of port
529 // numbers. 523 // numbers.
530 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; 524 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports";
531 525
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 // the given directory. Used primarily to gather samples for IPC fuzzing. 1047 // the given directory. Used primarily to gather samples for IPC fuzzing.
1054 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1048 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1055 1049
1056 // Specifies the testcase used by the IPC fuzzer. 1050 // Specifies the testcase used by the IPC fuzzer.
1057 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1051 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1058 #endif 1052 #endif
1059 1053
1060 // Don't dump stuff here, follow the same order as the header. 1054 // Don't dump stuff here, follow the same order as the header.
1061 1055
1062 } // namespace switches 1056 } // 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