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 "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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 | 307 |
308 // Don't use bubbles for content permissions requests instead of infobars. | 308 // Don't use bubbles for content permissions requests instead of infobars. |
309 const char kDisablePermissionsBubbles[] = "disable-permissions-bubbles"; | 309 const char kDisablePermissionsBubbles[] = "disable-permissions-bubbles"; |
310 | 310 |
311 // Disable pop-up blocking. | 311 // Disable pop-up blocking. |
312 const char kDisablePopupBlocking[] = "disable-popup-blocking"; | 312 const char kDisablePopupBlocking[] = "disable-popup-blocking"; |
313 | 313 |
314 // Disable speculative TCP/IP preconnection. | 314 // Disable speculative TCP/IP preconnection. |
315 const char kDisablePreconnect[] = "disable-preconnect"; | 315 const char kDisablePreconnect[] = "disable-preconnect"; |
316 | 316 |
317 // Disable prerendering based on local browsing history. | |
318 const char kDisablePrerenderLocalPredictor[] = | |
319 "disable-prerender-local-predictor"; | |
320 | |
321 // Disables print preview (For testing, and for users who don't like us. :[ ) | 317 // Disables print preview (For testing, and for users who don't like us. :[ ) |
322 const char kDisablePrintPreview[] = "disable-print-preview"; | 318 const char kDisablePrintPreview[] = "disable-print-preview"; |
323 | 319 |
324 // Normally when the user attempts to navigate to a page that was the result of | 320 // Normally when the user attempts to navigate to a page that was the result of |
325 // a post we prompt to make sure they want to. This switch may be used to | 321 // a post we prompt to make sure they want to. This switch may be used to |
326 // disable that check. This switch is used during automated testing. | 322 // disable that check. This switch is used during automated testing. |
327 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 323 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
328 | 324 |
329 // Disables support for the QUIC protocol. | 325 // Disables support for the QUIC protocol. |
330 const char kDisableQuic[] = "disable-quic"; | 326 const char kDisableQuic[] = "disable-quic"; |
(...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1391 | 1387 |
1392 // ----------------------------------------------------------------------------- | 1388 // ----------------------------------------------------------------------------- |
1393 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1389 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1394 // | 1390 // |
1395 // You were going to just dump your switches here, weren't you? Instead, please | 1391 // You were going to just dump your switches here, weren't you? Instead, please |
1396 // put them in alphabetical order above, or in order inside the appropriate | 1392 // put them in alphabetical order above, or in order inside the appropriate |
1397 // ifdef at the bottom. The order should match the header. | 1393 // ifdef at the bottom. The order should match the header. |
1398 // ----------------------------------------------------------------------------- | 1394 // ----------------------------------------------------------------------------- |
1399 | 1395 |
1400 } // namespace switches | 1396 } // namespace switches |
OLD | NEW |