Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 227 // Prevent Java from running. | 227 // Prevent Java from running. |
| 228 const char kDisableJava[] = "disable-java"; | 228 const char kDisableJava[] = "disable-java"; |
| 229 | 229 |
| 230 // Disable LocalStorage. | 230 // Disable LocalStorage. |
| 231 const char kDisableLocalStorage[] = "disable-local-storage"; | 231 const char kDisableLocalStorage[] = "disable-local-storage"; |
| 232 | 232 |
| 233 // Force logging to be disabled. Logging is enabled by default in debug | 233 // Force logging to be disabled. Logging is enabled by default in debug |
| 234 // builds. | 234 // builds. |
| 235 const char kDisableLogging[] = "disable-logging"; | 235 const char kDisableLogging[] = "disable-logging"; |
| 236 | 236 |
| 237 // Disable the Page Info SSL dialog as a bubble, reverting back to a separate | |
| 238 // window. | |
| 239 const char kDisableNewPageInfoBubble[] = "disable-new-page-info-bubble"; | |
|
Robert Sesek
2010/10/07 16:15:22
nit: align '=' with other lines
| |
| 240 | |
| 237 // Whether we should prevent the new tab page from showing the first run | 241 // Whether we should prevent the new tab page from showing the first run |
| 238 // notification. | 242 // notification. |
| 239 const char kDisableNewTabFirstRun[] = "disable-new-tab-first-run"; | 243 const char kDisableNewTabFirstRun[] = "disable-new-tab-first-run"; |
| 240 | 244 |
| 241 // Prevent outdated plugins from running. | 245 // Prevent outdated plugins from running. |
| 242 const char kDisableOutdatedPlugins[] = "disable-outdated-plugins"; | 246 const char kDisableOutdatedPlugins[] = "disable-outdated-plugins"; |
| 243 | 247 |
| 244 // Prevent plugins from running. | 248 // Prevent plugins from running. |
| 245 const char kDisablePlugins[] = "disable-plugins"; | 249 const char kDisablePlugins[] = "disable-plugins"; |
| 246 | 250 |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 460 // Runs the Native Client inside the renderer process and enables GPU plugin | 464 // Runs the Native Client inside the renderer process and enables GPU plugin |
| 461 // (internally adds kInternalNaCl and lEnableGpuPlugin to the command line). | 465 // (internally adds kInternalNaCl and lEnableGpuPlugin to the command line). |
| 462 const char kEnableNaCl[] = "enable-nacl"; | 466 const char kEnableNaCl[] = "enable-nacl"; |
| 463 | 467 |
| 464 // Enables debugging via RSP over a socket. | 468 // Enables debugging via RSP over a socket. |
| 465 const char kEnableNaClDebug[] = "enable-nacl-debug"; | 469 const char kEnableNaClDebug[] = "enable-nacl-debug"; |
| 466 | 470 |
| 467 // Enable Native Web Worker support. | 471 // Enable Native Web Worker support. |
| 468 const char kEnableNativeWebWorkers[] = "enable-native-web-workers"; | 472 const char kEnableNativeWebWorkers[] = "enable-native-web-workers"; |
| 469 | 473 |
| 470 // Enables the Page Info SSL dialog as a bubble, rather than a separate window. | |
| 471 const char kEnableNewPageInfoBubble[] = "enable-new-page-info-bubble"; | |
| 472 | |
| 473 // Enable content settings based on host *and* plug-in. | 474 // Enable content settings based on host *and* plug-in. |
| 474 const char kEnableResourceContentSettings[] = | 475 const char kEnableResourceContentSettings[] = |
| 475 "enable-resource-content-settings"; | 476 "enable-resource-content-settings"; |
| 476 | 477 |
| 477 // Enable speculative TCP/IP preconnection. | 478 // Enable speculative TCP/IP preconnection. |
| 478 const char kEnablePreconnect[] = "enable-preconnect"; | 479 const char kEnablePreconnect[] = "enable-preconnect"; |
| 479 | 480 |
| 480 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 481 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
| 481 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 482 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
| 482 | 483 |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1260 | 1261 |
| 1261 // ----------------------------------------------------------------------------- | 1262 // ----------------------------------------------------------------------------- |
| 1262 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1263 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1263 // | 1264 // |
| 1264 // You were going to just dump your switches here, weren't you? Instead, | 1265 // You were going to just dump your switches here, weren't you? Instead, |
| 1265 // please put them in alphabetical order above, or in order inside the | 1266 // please put them in alphabetical order above, or in order inside the |
| 1266 // appropriate ifdef at the bottom. The order should match the header. | 1267 // appropriate ifdef at the bottom. The order should match the header. |
| 1267 // ----------------------------------------------------------------------------- | 1268 // ----------------------------------------------------------------------------- |
| 1268 | 1269 |
| 1269 } // namespace switches | 1270 } // namespace switches |
| OLD | NEW |