| 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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 | 471 |
| 472 // Enable the Vtune profiler support. | 472 // Enable the Vtune profiler support. |
| 473 const char kEnableVtune[] = "enable-vtune-support"; | 473 const char kEnableVtune[] = "enable-vtune-support"; |
| 474 | 474 |
| 475 // Enables WebGL extensions not yet approved by the community. | 475 // Enables WebGL extensions not yet approved by the community. |
| 476 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 476 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
| 477 | 477 |
| 478 // Enables WebGL rendering into a scanout buffer for overlay support. | 478 // Enables WebGL rendering into a scanout buffer for overlay support. |
| 479 const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium"; | 479 const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium"; |
| 480 | 480 |
| 481 // Enables interaction with virtual reality devices. |
| 482 const char kEnableWebVR[] = "enable-webvr"; |
| 483 |
| 481 // Enable rasterizer that writes directly to GPU memory associated with tiles. | 484 // Enable rasterizer that writes directly to GPU memory associated with tiles. |
| 482 const char kEnableZeroCopy[] = "enable-zero-copy"; | 485 const char kEnableZeroCopy[] = "enable-zero-copy"; |
| 483 | 486 |
| 484 // Explicitly allows additional ports using a comma-separated list of port | 487 // Explicitly allows additional ports using a comma-separated list of port |
| 485 // numbers. | 488 // numbers. |
| 486 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; | 489 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; |
| 487 | 490 |
| 488 // Load NPAPI plugins from the specified directory. | 491 // Load NPAPI plugins from the specified directory. |
| 489 const char kExtraPluginDir[] = "extra-plugin-dir"; | 492 const char kExtraPluginDir[] = "extra-plugin-dir"; |
| 490 | 493 |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 997 // Windows Vista and later. | 1000 // Windows Vista and later. |
| 998 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1001 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 999 #endif | 1002 #endif |
| 1000 | 1003 |
| 1001 // Enables the use of NPAPI plugins. | 1004 // Enables the use of NPAPI plugins. |
| 1002 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; | 1005 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; |
| 1003 | 1006 |
| 1004 // Don't dump stuff here, follow the same order as the header. | 1007 // Don't dump stuff here, follow the same order as the header. |
| 1005 | 1008 |
| 1006 } // namespace switches | 1009 } // namespace switches |
| OLD | NEW |