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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 // Disable LocalStorage. | 184 // Disable LocalStorage. |
185 const char kDisableLocalStorage[] = "disable-local-storage"; | 185 const char kDisableLocalStorage[] = "disable-local-storage"; |
186 | 186 |
187 // Force logging to be disabled. Logging is enabled by default in debug | 187 // Force logging to be disabled. Logging is enabled by default in debug |
188 // builds. | 188 // builds. |
189 const char kDisableLogging[] = "disable-logging"; | 189 const char kDisableLogging[] = "disable-logging"; |
190 | 190 |
191 // Disables Media Source API (i.e., the MediaSource object). | 191 // Disables Media Source API (i.e., the MediaSource object). |
192 const char kDisableMediaSource[] = "disable-media-source"; | 192 const char kDisableMediaSource[] = "disable-media-source"; |
193 | 193 |
| 194 // Disables usage of the namespace sandbox. |
| 195 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; |
| 196 |
194 // Disable rasterizer that writes directly to GPU memory. | 197 // Disable rasterizer that writes directly to GPU memory. |
195 // Overrides the kEnableOneCopy flag. | 198 // Overrides the kEnableOneCopy flag. |
196 const char kDisableOneCopy[] = "disable-one-copy"; | 199 const char kDisableOneCopy[] = "disable-one-copy"; |
197 | 200 |
198 // Disable Pepper3D. | 201 // Disable Pepper3D. |
199 const char kDisablePepper3d[] = "disable-pepper-3d"; | 202 const char kDisablePepper3d[] = "disable-pepper-3d"; |
200 | 203 |
201 // Disables compositor-accelerated touch-screen pinch gestures. | 204 // Disables compositor-accelerated touch-screen pinch gestures. |
202 const char kDisablePinch[] = "disable-pinch"; | 205 const char kDisablePinch[] = "disable-pinch"; |
203 | 206 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 // Dynamically apply color profiles to web content images. | 353 // Dynamically apply color profiles to web content images. |
351 const char kEnableImageColorProfiles[] = "enable-image-color-profiles"; | 354 const char kEnableImageColorProfiles[] = "enable-image-color-profiles"; |
352 | 355 |
353 // Force logging to be enabled. Logging is disabled by default in release | 356 // Force logging to be enabled. Logging is disabled by default in release |
354 // builds. | 357 // builds. |
355 const char kEnableLogging[] = "enable-logging"; | 358 const char kEnableLogging[] = "enable-logging"; |
356 | 359 |
357 // Enables the memory benchmarking extension | 360 // Enables the memory benchmarking extension |
358 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; | 361 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; |
359 | 362 |
360 // Prefer the namespace sandbox over the setuid sandbox when possible. | |
361 const char kEnableNamespaceSandbox[] = "enable-namespace-sandbox"; | |
362 | |
363 // Enables the network information API. | 363 // Enables the network information API. |
364 const char kEnableNetworkInformation[] = "enable-network-information"; | 364 const char kEnableNetworkInformation[] = "enable-network-information"; |
365 | 365 |
366 // Enable rasterizer that writes directly to GPU memory. | 366 // Enable rasterizer that writes directly to GPU memory. |
367 const char kEnableOneCopy[] = "enable-one-copy"; | 367 const char kEnableOneCopy[] = "enable-one-copy"; |
368 | 368 |
369 // Enables use of hardware overlay for fullscreen video playback. Android only. | 369 // Enables use of hardware overlay for fullscreen video playback. Android only. |
370 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; | 370 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; |
371 | 371 |
372 // Enables compositor-accelerated touch-screen pinch gestures. | 372 // Enables compositor-accelerated touch-screen pinch gestures. |
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 const char kEnableNpapi[] = "enable-npapi"; | 975 const char kEnableNpapi[] = "enable-npapi"; |
976 | 976 |
977 #if defined(ENABLE_PLUGINS) | 977 #if defined(ENABLE_PLUGINS) |
978 // Enables the plugin power saver feature. | 978 // Enables the plugin power saver feature. |
979 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 979 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
980 #endif | 980 #endif |
981 | 981 |
982 // Don't dump stuff here, follow the same order as the header. | 982 // Don't dump stuff here, follow the same order as the header. |
983 | 983 |
984 } // namespace switches | 984 } // namespace switches |
OLD | NEW |