| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common/content_switches.h" | 5 #include "content/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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 | 104 |
| 105 // Disable session storage. | 105 // Disable session storage. |
| 106 const char kDisableSessionStorage[] = "disable-session-storage"; | 106 const char kDisableSessionStorage[] = "disable-session-storage"; |
| 107 | 107 |
| 108 // Enable shared workers. Functionality not yet complete. | 108 // Enable shared workers. Functionality not yet complete. |
| 109 const char kDisableSharedWorkers[] = "disable-shared-workers"; | 109 const char kDisableSharedWorkers[] = "disable-shared-workers"; |
| 110 | 110 |
| 111 // Disables speech input. | 111 // Disables speech input. |
| 112 const char kDisableSpeechInput[] = "disable-speech-input"; | 112 const char kDisableSpeechInput[] = "disable-speech-input"; |
| 113 | 113 |
| 114 // Disable Spellcheck API. |
| 115 const char kDisableSpellcheckAPI[] = "disable-spellcheck-api"; |
| 116 |
| 114 // Disable Web Sockets support. | 117 // Disable Web Sockets support. |
| 115 const char kDisableWebSockets[] = "disable-web-sockets"; | 118 const char kDisableWebSockets[] = "disable-web-sockets"; |
| 116 | 119 |
| 117 // Enable hardware accelerated page drawing. | 120 // Enable hardware accelerated page drawing. |
| 118 // Please note that this flag is honored only if chromium is compiled with | 121 // Please note that this flag is honored only if chromium is compiled with |
| 119 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 | 122 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 |
| 120 // in build/features_override.gypi. | 123 // in build/features_override.gypi. |
| 121 const char kEnableAcceleratedDrawing[] = "enable-accelerated-drawing"; | 124 const char kEnableAcceleratedDrawing[] = "enable-accelerated-drawing"; |
| 122 | 125 |
| 123 // Enables WebKit accessibility within the renderer process. | 126 // Enables WebKit accessibility within the renderer process. |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 // Enable Pepper and JavaScript P2P API. | 409 // Enable Pepper and JavaScript P2P API. |
| 407 const char kEnableP2PApi[] = "enable-p2papi"; | 410 const char kEnableP2PApi[] = "enable-p2papi"; |
| 408 #endif | 411 #endif |
| 409 | 412 |
| 410 #if !defined(OFFICIAL_BUILD) | 413 #if !defined(OFFICIAL_BUILD) |
| 411 // Causes the renderer process to throw an assertion on launch. | 414 // Causes the renderer process to throw an assertion on launch. |
| 412 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 415 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 413 #endif | 416 #endif |
| 414 | 417 |
| 415 } // namespace switches | 418 } // namespace switches |
| OLD | NEW |