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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 // in tab fullscreen. | 351 // in tab fullscreen. |
352 const char kDisableNonFullscreenMouseLock[] = | 352 const char kDisableNonFullscreenMouseLock[] = |
353 "disable-non-fullscreen-mouse-lock"; | 353 "disable-non-fullscreen-mouse-lock"; |
354 | 354 |
355 // Avoid doing expensive animations upon login. | 355 // Avoid doing expensive animations upon login. |
356 const char kDisableLoginAnimations[] = "disable-login-animations"; | 356 const char kDisableLoginAnimations[] = "disable-login-animations"; |
357 | 357 |
358 // Disables the menu on the NTP for accessing sessions from other devices. | 358 // Disables the menu on the NTP for accessing sessions from other devices. |
359 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; | 359 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; |
360 | 360 |
| 361 // Disable pop-up blocking. |
| 362 const char kDisablePopupBlocking[] = "disable-popup-blocking"; |
| 363 |
361 // Disable speculative TCP/IP preconnection. | 364 // Disable speculative TCP/IP preconnection. |
362 const char kDisablePreconnect[] = "disable-preconnect"; | 365 const char kDisablePreconnect[] = "disable-preconnect"; |
363 | 366 |
364 // Normally when the user attempts to navigate to a page that was the result of | 367 // Normally when the user attempts to navigate to a page that was the result of |
365 // a post we prompt to make sure they want to. This switch may be used to | 368 // a post we prompt to make sure they want to. This switch may be used to |
366 // disable that check. This switch is used during automated testing. | 369 // disable that check. This switch is used during automated testing. |
367 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 370 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
368 | 371 |
369 // Prevents the URLs of BackgroundContents from being remembered and | 372 // Prevents the URLs of BackgroundContents from being remembered and |
370 // re-launched when the browser restarts. | 373 // re-launched when the browser restarts. |
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1515 | 1518 |
1516 // ----------------------------------------------------------------------------- | 1519 // ----------------------------------------------------------------------------- |
1517 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1520 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1518 // | 1521 // |
1519 // You were going to just dump your switches here, weren't you? Instead, please | 1522 // You were going to just dump your switches here, weren't you? Instead, please |
1520 // put them in alphabetical order above, or in order inside the appropriate | 1523 // put them in alphabetical order above, or in order inside the appropriate |
1521 // ifdef at the bottom. The order should match the header. | 1524 // ifdef at the bottom. The order should match the header. |
1522 // ----------------------------------------------------------------------------- | 1525 // ----------------------------------------------------------------------------- |
1523 | 1526 |
1524 } // namespace switches | 1527 } // namespace switches |
OLD | NEW |