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 // Handles URL requests by NPAPI plugins directly through the browser, instead |
| 67 // of going through the renderer. This will be the new default, but it's not |
| 68 // turned on initially until we do more testing. |
| 69 const char kDirectNPAPIRequests[] = "direct-npapi-requests"; |
| 70 |
66 // Disable antialiasing on 2d canvas. | 71 // Disable antialiasing on 2d canvas. |
67 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; | 72 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; |
68 | 73 |
69 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. | 74 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. |
70 // This is controlled by policy and is kept separate from the other | 75 // This is controlled by policy and is kept separate from the other |
71 // enable/disable switches to avoid accidentally regressing the policy | 76 // enable/disable switches to avoid accidentally regressing the policy |
72 // support for controlling access to these APIs. | 77 // support for controlling access to these APIs. |
73 const char kDisable3DAPIs[] = "disable-3d-apis"; | 78 const char kDisable3DAPIs[] = "disable-3d-apis"; |
74 | 79 |
75 // Disable gpu-accelerated 2d canvas. | 80 // Disable gpu-accelerated 2d canvas. |
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
952 #endif | 957 #endif |
953 | 958 |
954 #if defined(USE_AURA) | 959 #if defined(USE_AURA) |
955 // Forces usage of the test compositor. Needed to run ui tests on bots. | 960 // Forces usage of the test compositor. Needed to run ui tests on bots. |
956 extern const char kTestCompositor[] = "test-compositor"; | 961 extern const char kTestCompositor[] = "test-compositor"; |
957 #endif | 962 #endif |
958 | 963 |
959 // Don't dump stuff here, follow the same order as the header. | 964 // Don't dump stuff here, follow the same order as the header. |
960 | 965 |
961 } // namespace switches | 966 } // namespace switches |
OLD | NEW |