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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 | 257 |
258 // Disable multithreaded, compositor scrolling of web content. | 258 // Disable multithreaded, compositor scrolling of web content. |
259 const char kDisableThreadedScrolling[] = "disable-threaded-scrolling"; | 259 const char kDisableThreadedScrolling[] = "disable-threaded-scrolling"; |
260 | 260 |
261 // Disable V8 idle tasks. | 261 // Disable V8 idle tasks. |
262 const char kDisableV8IdleTasks[] = "disable-v8-idle-tasks"; | 262 const char kDisableV8IdleTasks[] = "disable-v8-idle-tasks"; |
263 | 263 |
264 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 264 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
265 const char kDisableWebSecurity[] = "disable-web-security"; | 265 const char kDisableWebSecurity[] = "disable-web-security"; |
266 | 266 |
| 267 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
| 268 const char kDisableXSSAuditor[] = "disable-xss-auditor"; |
| 269 |
267 // Specifies if the |DOMAutomationController| needs to be bound in the | 270 // Specifies if the |DOMAutomationController| needs to be bound in the |
268 // renderer. This binding happens on per-frame basis and hence can potentially | 271 // renderer. This binding happens on per-frame basis and hence can potentially |
269 // be a performance bottleneck. One should only enable it when automating dom | 272 // be a performance bottleneck. One should only enable it when automating dom |
270 // based tests. | 273 // based tests. |
271 const char kDomAutomationController[] = "dom-automation"; | 274 const char kDomAutomationController[] = "dom-automation"; |
272 | 275 |
273 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) | 276 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) |
274 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; | 277 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; |
275 | 278 |
276 // Disable partially decoding jpeg images using the GPU. | 279 // Disable partially decoding jpeg images using the GPU. |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 const char kEnableNpapi[] = "enable-npapi"; | 988 const char kEnableNpapi[] = "enable-npapi"; |
986 | 989 |
987 #if defined(ENABLE_PLUGINS) | 990 #if defined(ENABLE_PLUGINS) |
988 // Enables the plugin power saver feature. | 991 // Enables the plugin power saver feature. |
989 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 992 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
990 #endif | 993 #endif |
991 | 994 |
992 // Don't dump stuff here, follow the same order as the header. | 995 // Don't dump stuff here, follow the same order as the header. |
993 | 996 |
994 } // namespace switches | 997 } // namespace switches |
OLD | NEW |