| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 // Disable the thread that crashes the GPU process if it stops responding to | 148 // Disable the thread that crashes the GPU process if it stops responding to |
| 149 // messages. | 149 // messages. |
| 150 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; | 150 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; |
| 151 | 151 |
| 152 // Prevent Java from running. | 152 // Prevent Java from running. |
| 153 const char kDisableJava[] = "disable-java"; | 153 const char kDisableJava[] = "disable-java"; |
| 154 | 154 |
| 155 // Don't execute JavaScript (browser JS like the new tab page still runs). | 155 // Don't execute JavaScript (browser JS like the new tab page still runs). |
| 156 const char kDisableJavaScript[] = "disable-javascript"; | 156 const char kDisableJavaScript[] = "disable-javascript"; |
| 157 | 157 |
| 158 // Disable JavaScript I18N API. | |
| 159 const char kDisableJavaScriptI18NAPI[] = "disable-javascript-i18n-api"; | |
| 160 | |
| 161 // Disable LocalStorage. | 158 // Disable LocalStorage. |
| 162 const char kDisableLocalStorage[] = "disable-local-storage"; | 159 const char kDisableLocalStorage[] = "disable-local-storage"; |
| 163 | 160 |
| 164 // Force logging to be disabled. Logging is enabled by default in debug | 161 // Force logging to be disabled. Logging is enabled by default in debug |
| 165 // builds. | 162 // builds. |
| 166 const char kDisableLogging[] = "disable-logging"; | 163 const char kDisableLogging[] = "disable-logging"; |
| 167 | 164 |
| 168 // Enables displaying net log events on the command line, or writing the events | 165 // Enables displaying net log events on the command line, or writing the events |
| 169 // to a separate file if a file name is given. | 166 // to a separate file if a file name is given. |
| 170 const char kLogNetLog[] = "log-net-log"; | 167 const char kLogNetLog[] = "log-net-log"; |
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 880 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 877 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
| 881 | 878 |
| 882 // Enables/disables accelerated compositing for backgrounds of root layers with | 879 // Enables/disables accelerated compositing for backgrounds of root layers with |
| 883 // background-attachment: fixed. Requires kForceCompositingMode. | 880 // background-attachment: fixed. Requires kForceCompositingMode. |
| 884 const char kDisableAcceleratedFixedRootBackground[] = | 881 const char kDisableAcceleratedFixedRootBackground[] = |
| 885 "disable-accelerated-fixed-root-background"; | 882 "disable-accelerated-fixed-root-background"; |
| 886 const char kEnableAcceleratedFixedRootBackground[] = | 883 const char kEnableAcceleratedFixedRootBackground[] = |
| 887 "enable-accelerated-fixed-root-background"; | 884 "enable-accelerated-fixed-root-background"; |
| 888 | 885 |
| 889 } // namespace switches | 886 } // namespace switches |
| OLD | NEW |