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 "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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 260 const char kDisableIPv6[] = "disable-ipv6"; | 260 const char kDisableIPv6[] = "disable-ipv6"; |
| 261 | 261 |
| 262 // Disables IP Pooling within the networks stack (SPDY only). When a connection | 262 // Disables IP Pooling within the networks stack (SPDY only). When a connection |
| 263 // is needed for a domain which shares an IP with an existing connection, | 263 // is needed for a domain which shares an IP with an existing connection, |
| 264 // attempt to use the existing connection. | 264 // attempt to use the existing connection. |
| 265 const char kDisableIPPooling[] = "disable-ip-pooling"; | 265 const char kDisableIPPooling[] = "disable-ip-pooling"; |
| 266 | 266 |
| 267 // Disable speculative TCP/IP preconnection. | 267 // Disable speculative TCP/IP preconnection. |
| 268 const char kDisablePreconnect[] = "disable-preconnect"; | 268 const char kDisablePreconnect[] = "disable-preconnect"; |
| 269 | 269 |
| 270 // Whether we should prevent the new tab page from showing the first run | |
| 271 // notification. | |
| 272 const char kDisableNewTabFirstRun[] = "disable-new-tab-first-run"; | |
|
Dan Beam
2011/08/04 19:15:38
talked with estade about this -- if anybody needs/
| |
| 273 | |
| 274 // Normally when the user attempts to navigate to a page that was the result of | 270 // Normally when the user attempts to navigate to a page that was the result of |
| 275 // a post we prompt to make sure they want to. This switch may be used to | 271 // a post we prompt to make sure they want to. This switch may be used to |
| 276 // disable that check. This switch is used during automated testing. | 272 // disable that check. This switch is used during automated testing. |
| 277 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 273 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
| 278 | 274 |
| 279 // Disable remote web font support. SVG font should always work whether | 275 // Disable remote web font support. SVG font should always work whether |
| 280 // this option is specified or not. | 276 // this option is specified or not. |
| 281 const char kDisableRemoteFonts[] = "disable-remote-fonts"; | 277 const char kDisableRemoteFonts[] = "disable-remote-fonts"; |
| 282 | 278 |
| 283 // Prevents the URLs of BackgroundContents from being remembered and re-launched | 279 // Prevents the URLs of BackgroundContents from being remembered and re-launched |
| (...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1236 | 1232 |
| 1237 // ----------------------------------------------------------------------------- | 1233 // ----------------------------------------------------------------------------- |
| 1238 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1234 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1239 // | 1235 // |
| 1240 // You were going to just dump your switches here, weren't you? Instead, | 1236 // You were going to just dump your switches here, weren't you? Instead, |
| 1241 // please put them in alphabetical order above, or in order inside the | 1237 // please put them in alphabetical order above, or in order inside the |
| 1242 // appropriate ifdef at the bottom. The order should match the header. | 1238 // appropriate ifdef at the bottom. The order should match the header. |
| 1243 // ----------------------------------------------------------------------------- | 1239 // ----------------------------------------------------------------------------- |
| 1244 | 1240 |
| 1245 } // namespace switches | 1241 } // namespace switches |
| OLD | NEW |