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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 | 291 |
292 // Disable rasterizer that writes directly to GPU memory associated with tiles. | 292 // Disable rasterizer that writes directly to GPU memory associated with tiles. |
293 const char kDisableZeroCopy[] = "disable-zero-copy"; | 293 const char kDisableZeroCopy[] = "disable-zero-copy"; |
294 | 294 |
295 // Specifies if the |DOMAutomationController| needs to be bound in the | 295 // Specifies if the |DOMAutomationController| needs to be bound in the |
296 // renderer. This binding happens on per-frame basis and hence can potentially | 296 // renderer. This binding happens on per-frame basis and hence can potentially |
297 // be a performance bottleneck. One should only enable it when automating dom | 297 // be a performance bottleneck. One should only enable it when automating dom |
298 // based tests. | 298 // based tests. |
299 const char kDomAutomationController[] = "dom-automation"; | 299 const char kDomAutomationController[] = "dom-automation"; |
300 | 300 |
| 301 // Causes the process to run as a download subprocess. |
| 302 const char kDownloadProcess[] = "download"; |
| 303 |
301 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) | 304 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) |
302 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; | 305 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; |
303 | 306 |
304 // Disable partially decoding jpeg images using the GPU. | 307 // Disable partially decoding jpeg images using the GPU. |
305 // At least YUV decoding will be accelerated when not using this flag. | 308 // At least YUV decoding will be accelerated when not using this flag. |
306 // Has no effect unless GPU rasterization is enabled. | 309 // Has no effect unless GPU rasterization is enabled. |
307 const char kDisableAcceleratedJpegDecoding[] = | 310 const char kDisableAcceleratedJpegDecoding[] = |
308 "disable-accelerated-jpeg-decoding"; | 311 "disable-accelerated-jpeg-decoding"; |
309 | 312 |
310 // Enables LCD text. | 313 // Enables LCD text. |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
996 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 999 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
997 | 1000 |
998 // Enables the exporting of the tracing events to ETW. This is only supported on | 1001 // Enables the exporting of the tracing events to ETW. This is only supported on |
999 // Windows Vista and later. | 1002 // Windows Vista and later. |
1000 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1003 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1001 #endif | 1004 #endif |
1002 | 1005 |
1003 // Don't dump stuff here, follow the same order as the header. | 1006 // Don't dump stuff here, follow the same order as the header. |
1004 | 1007 |
1005 } // namespace switches | 1008 } // namespace switches |
OLD | NEW |