| 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 | 491 |
| 492 // Enables WebGL extensions not yet approved by the community. | 492 // Enables WebGL extensions not yet approved by the community. |
| 493 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 493 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
| 494 | 494 |
| 495 // Enables WebGL rendering into a scanout buffer for overlay support. | 495 // Enables WebGL rendering into a scanout buffer for overlay support. |
| 496 const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium"; | 496 const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium"; |
| 497 | 497 |
| 498 // Enable rasterizer that writes directly to GPU memory associated with tiles. | 498 // Enable rasterizer that writes directly to GPU memory associated with tiles. |
| 499 const char kEnableZeroCopy[] = "enable-zero-copy"; | 499 const char kEnableZeroCopy[] = "enable-zero-copy"; |
| 500 | 500 |
| 501 // Explicitly allows additional ports using a comma-separated list of port |
| 502 // numbers. |
| 503 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; |
| 504 |
| 501 // Load NPAPI plugins from the specified directory. | 505 // Load NPAPI plugins from the specified directory. |
| 502 const char kExtraPluginDir[] = "extra-plugin-dir"; | 506 const char kExtraPluginDir[] = "extra-plugin-dir"; |
| 503 | 507 |
| 504 // This option can be used to force field trials when testing changes locally. | 508 // This option can be used to force field trials when testing changes locally. |
| 505 // The argument is a list of name and value pairs, separated by slashes. If a | 509 // The argument is a list of name and value pairs, separated by slashes. If a |
| 506 // trial name is prefixed with an asterisk, that trial will start activated. | 510 // trial name is prefixed with an asterisk, that trial will start activated. |
| 507 // For example, the following argument defines two trials, with the second one | 511 // For example, the following argument defines two trials, with the second one |
| 508 // activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/" | 512 // activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/" |
| 509 // This option is also used by the browser to send the list of trials to | 513 // This option is also used by the browser to send the list of trials to |
| 510 // renderers, using the same format. See | 514 // renderers, using the same format. See |
| (...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 974 // clashes between different instances of Chrome. | 978 // clashes between different instances of Chrome. |
| 975 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; | 979 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; |
| 976 #endif | 980 #endif |
| 977 | 981 |
| 978 // Enables the use of NPAPI plugins. | 982 // Enables the use of NPAPI plugins. |
| 979 const char kEnableNpapi[] = "enable-npapi"; | 983 const char kEnableNpapi[] = "enable-npapi"; |
| 980 | 984 |
| 981 // Don't dump stuff here, follow the same order as the header. | 985 // Don't dump stuff here, follow the same order as the header. |
| 982 | 986 |
| 983 } // namespace switches | 987 } // namespace switches |
| OLD | NEW |