| 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 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
| 10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // Path to the exe to run for the renderer and plugin subprocesses. | 56 // Path to the exe to run for the renderer and plugin subprocesses. |
| 57 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; | 57 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; |
| 58 | 58 |
| 59 // Dumps extra logging about plugin loading to the log file. | 59 // Dumps extra logging about plugin loading to the log file. |
| 60 const char kDebugPluginLoading[] = "debug-plugin-loading"; | 60 const char kDebugPluginLoading[] = "debug-plugin-loading"; |
| 61 | 61 |
| 62 // Sets the tile size used by composited layers. | 62 // Sets the tile size used by composited layers. |
| 63 const char kDefaultTileWidth[] = "default-tile-width"; | 63 const char kDefaultTileWidth[] = "default-tile-width"; |
| 64 const char kDefaultTileHeight[] = "default-tile-height"; | 64 const char kDefaultTileHeight[] = "default-tile-height"; |
| 65 | 65 |
| 66 // By default, cookies are not allowed on file://. They are needed for testing, |
| 67 // for example page cycler and layout tests. See bug 1157243. |
| 68 const char kEnableFileCookies[] = "enable-file-cookies"; |
| 69 |
| 66 // Disable antialiasing on 2d canvas. | 70 // Disable antialiasing on 2d canvas. |
| 67 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; | 71 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; |
| 68 | 72 |
| 69 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. | 73 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. |
| 70 // This is controlled by policy and is kept separate from the other | 74 // This is controlled by policy and is kept separate from the other |
| 71 // enable/disable switches to avoid accidentally regressing the policy | 75 // enable/disable switches to avoid accidentally regressing the policy |
| 72 // support for controlling access to these APIs. | 76 // support for controlling access to these APIs. |
| 73 const char kDisable3DAPIs[] = "disable-3d-apis"; | 77 const char kDisable3DAPIs[] = "disable-3d-apis"; |
| 74 | 78 |
| 75 // Disable gpu-accelerated 2d canvas. | 79 // Disable gpu-accelerated 2d canvas. |
| (...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 943 #endif | 947 #endif |
| 944 | 948 |
| 945 #if defined(USE_AURA) | 949 #if defined(USE_AURA) |
| 946 // Forces usage of the test compositor. Needed to run ui tests on bots. | 950 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 947 extern const char kTestCompositor[] = "test-compositor"; | 951 extern const char kTestCompositor[] = "test-compositor"; |
| 948 #endif | 952 #endif |
| 949 | 953 |
| 950 // Don't dump stuff here, follow the same order as the header. | 954 // Don't dump stuff here, follow the same order as the header. |
| 951 | 955 |
| 952 } // namespace switches | 956 } // namespace switches |
| OLD | NEW |