Chromium Code Reviews| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 110 // Disable JavaScript I18N API. | 110 // Disable JavaScript I18N API. |
| 111 const char kDisableJavaScriptI18NAPI[] = "disable-javascript-i18n-api"; | 111 const char kDisableJavaScriptI18NAPI[] = "disable-javascript-i18n-api"; |
| 112 | 112 |
| 113 // Disable LocalStorage. | 113 // Disable LocalStorage. |
| 114 const char kDisableLocalStorage[] = "disable-local-storage"; | 114 const char kDisableLocalStorage[] = "disable-local-storage"; |
| 115 | 115 |
| 116 // Force logging to be disabled. Logging is enabled by default in debug | 116 // Force logging to be disabled. Logging is enabled by default in debug |
| 117 // builds. | 117 // builds. |
| 118 const char kDisableLogging[] = "disable-logging"; | 118 const char kDisableLogging[] = "disable-logging"; |
| 119 | 119 |
| 120 // Disable smooth scrolling for testing. | |
| 121 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; | |
|
brettw
2011/08/31 18:12:51
Can you make the = aligned with the other ones for
| |
| 122 | |
| 120 // Prevent plugins from running. | 123 // Prevent plugins from running. |
| 121 const char kDisablePlugins[] = "disable-plugins"; | 124 const char kDisablePlugins[] = "disable-plugins"; |
| 122 | 125 |
| 123 // Disable pop-up blocking. | 126 // Disable pop-up blocking. |
| 124 const char kDisablePopupBlocking[] = "disable-popup-blocking"; | 127 const char kDisablePopupBlocking[] = "disable-popup-blocking"; |
| 125 | 128 |
| 126 // Turns off the accessibility in the renderer. | 129 // Turns off the accessibility in the renderer. |
| 127 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; | 130 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; |
| 128 | 131 |
| 129 // Disable the seccomp sandbox (Linux only) | 132 // Disable the seccomp sandbox (Linux only) |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 473 // Specify the amount the trackpad should scroll by. | 476 // Specify the amount the trackpad should scroll by. |
| 474 const char kScrollPixels[] = "scroll-pixels"; | 477 const char kScrollPixels[] = "scroll-pixels"; |
| 475 #endif | 478 #endif |
| 476 | 479 |
| 477 #if !defined(OFFICIAL_BUILD) | 480 #if !defined(OFFICIAL_BUILD) |
| 478 // Causes the renderer process to throw an assertion on launch. | 481 // Causes the renderer process to throw an assertion on launch. |
| 479 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 482 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 480 #endif | 483 #endif |
| 481 | 484 |
| 482 } // namespace switches | 485 } // namespace switches |
| OLD | NEW |