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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 | 313 |
314 // Disable the video decoder from drawing directly to a texture. | 314 // Disable the video decoder from drawing directly to a texture. |
315 const char kDisableZeroCopyDxgiVideo[] = "disable-zero-copy-dxgi-video"; | 315 const char kDisableZeroCopyDxgiVideo[] = "disable-zero-copy-dxgi-video"; |
316 | 316 |
317 // Specifies if the |DOMAutomationController| needs to be bound in the | 317 // Specifies if the |DOMAutomationController| needs to be bound in the |
318 // renderer. This binding happens on per-frame basis and hence can potentially | 318 // renderer. This binding happens on per-frame basis and hence can potentially |
319 // be a performance bottleneck. One should only enable it when automating dom | 319 // be a performance bottleneck. One should only enable it when automating dom |
320 // based tests. | 320 // based tests. |
321 const char kDomAutomationController[] = "dom-automation"; | 321 const char kDomAutomationController[] = "dom-automation"; |
322 | 322 |
323 // Causes the process to run as a download subprocess. | |
324 const char kDownloadProcess[] = "download"; | |
325 | |
326 // Disable antialiasing on 2d canvas clips | 323 // Disable antialiasing on 2d canvas clips |
327 const char kDisable2dCanvasClipAntialiasing[] = "disable-2d-canvas-clip-aa"; | 324 const char kDisable2dCanvasClipAntialiasing[] = "disable-2d-canvas-clip-aa"; |
328 | 325 |
329 // Disable partially decoding jpeg images using the GPU. | 326 // Disable partially decoding jpeg images using the GPU. |
330 // At least YUV decoding will be accelerated when not using this flag. | 327 // At least YUV decoding will be accelerated when not using this flag. |
331 // Has no effect unless GPU rasterization is enabled. | 328 // Has no effect unless GPU rasterization is enabled. |
332 const char kDisableAcceleratedJpegDecoding[] = | 329 const char kDisableAcceleratedJpegDecoding[] = |
333 "disable-accelerated-jpeg-decoding"; | 330 "disable-accelerated-jpeg-decoding"; |
334 | 331 |
335 // Enables LCD text. | 332 // Enables LCD text. |
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1082 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1079 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1083 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1080 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1084 | 1081 |
1085 // Specifies the testcase used by the IPC fuzzer. | 1082 // Specifies the testcase used by the IPC fuzzer. |
1086 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1083 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1087 #endif | 1084 #endif |
1088 | 1085 |
1089 // Don't dump stuff here, follow the same order as the header. | 1086 // Don't dump stuff here, follow the same order as the header. |
1090 | 1087 |
1091 } // namespace switches | 1088 } // namespace switches |
OLD | NEW |