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