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 // Delay canceling prefetches for a few seconds so that navigation events | |
67 // don't immediately drop an in-flight prefetch. | |
asanka
2013/10/14 21:06:49
Nit: Update comment. Probably want to explicitly m
| |
68 const char kDelayDetachableCancellation[] = "delay-detachable-cancellation"; | |
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 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
982 #endif | 986 #endif |
983 | 987 |
984 #if defined(USE_AURA) | 988 #if defined(USE_AURA) |
985 // Forces usage of the test compositor. Needed to run ui tests on bots. | 989 // Forces usage of the test compositor. Needed to run ui tests on bots. |
986 extern const char kTestCompositor[] = "test-compositor"; | 990 extern const char kTestCompositor[] = "test-compositor"; |
987 #endif | 991 #endif |
988 | 992 |
989 // Don't dump stuff here, follow the same order as the header. | 993 // Don't dump stuff here, follow the same order as the header. |
990 | 994 |
991 } // namespace switches | 995 } // namespace switches |
OLD | NEW |