OLD | NEW |
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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 286 |
287 // Disable V8 idle tasks. | 287 // Disable V8 idle tasks. |
288 const char kDisableV8IdleTasks[] = "disable-v8-idle-tasks"; | 288 const char kDisableV8IdleTasks[] = "disable-v8-idle-tasks"; |
289 | 289 |
290 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 290 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
291 const char kDisableWebSecurity[] = "disable-web-security"; | 291 const char kDisableWebSecurity[] = "disable-web-security"; |
292 | 292 |
293 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. | 293 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
294 const char kDisableXSSAuditor[] = "disable-xss-auditor"; | 294 const char kDisableXSSAuditor[] = "disable-xss-auditor"; |
295 | 295 |
| 296 // Disable gesture generation for wheel events. |
| 297 const char kDisableWheelGestures[] = "disable-wheel-gestures"; |
| 298 |
296 // Disable rasterizer that writes directly to GPU memory associated with tiles. | 299 // Disable rasterizer that writes directly to GPU memory associated with tiles. |
297 const char kDisableZeroCopy[] = "disable-zero-copy"; | 300 const char kDisableZeroCopy[] = "disable-zero-copy"; |
298 | 301 |
299 // Specifies if the |DOMAutomationController| needs to be bound in the | 302 // Specifies if the |DOMAutomationController| needs to be bound in the |
300 // renderer. This binding happens on per-frame basis and hence can potentially | 303 // renderer. This binding happens on per-frame basis and hence can potentially |
301 // be a performance bottleneck. One should only enable it when automating dom | 304 // be a performance bottleneck. One should only enable it when automating dom |
302 // based tests. | 305 // based tests. |
303 const char kDomAutomationController[] = "dom-automation"; | 306 const char kDomAutomationController[] = "dom-automation"; |
304 | 307 |
305 // Causes the process to run as a download subprocess. | 308 // Causes the process to run as a download subprocess. |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1048 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1051 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
1049 | 1052 |
1050 // Enables the exporting of the tracing events to ETW. This is only supported on | 1053 // Enables the exporting of the tracing events to ETW. This is only supported on |
1051 // Windows Vista and later. | 1054 // Windows Vista and later. |
1052 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1055 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1053 #endif | 1056 #endif |
1054 | 1057 |
1055 // Don't dump stuff here, follow the same order as the header. | 1058 // Don't dump stuff here, follow the same order as the header. |
1056 | 1059 |
1057 } // namespace switches | 1060 } // namespace switches |
OLD | NEW |