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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 const char kEnableSearchButtonInOmniboxAlways[] = | 593 const char kEnableSearchButtonInOmniboxAlways[] = |
594 "enable-search-button-in-omnibox-always"; | 594 "enable-search-button-in-omnibox-always"; |
595 const char kEnableSearchButtonInOmniboxForStr[] = | 595 const char kEnableSearchButtonInOmniboxForStr[] = |
596 "enable-search-button-in-omnibox-for-str"; | 596 "enable-search-button-in-omnibox-for-str"; |
597 const char kEnableSearchButtonInOmniboxForStrOrIip[] = | 597 const char kEnableSearchButtonInOmniboxForStrOrIip[] = |
598 "enable-search-button-in-omnibox-for-str-or-iip"; | 598 "enable-search-button-in-omnibox-for-str-or-iip"; |
599 | 599 |
600 // Enables using bubbles for session restore request instead of infobars. | 600 // Enables using bubbles for session restore request instead of infobars. |
601 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble"; | 601 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble"; |
602 | 602 |
| 603 // Enables the deprecated window.showModalDialog API. This is slated for |
| 604 // removal. |
| 605 const char kEnableShowModalDialog[] = "enable-show-modal-dialog"; |
| 606 |
603 // Enable or disable settings in a separate browser window per profile | 607 // Enable or disable settings in a separate browser window per profile |
604 // (see SettingsWindowEnabled() below). | 608 // (see SettingsWindowEnabled() below). |
605 const char kEnableSettingsWindow[] = "enable-settings-window"; | 609 const char kEnableSettingsWindow[] = "enable-settings-window"; |
606 const char kDisableSettingsWindow[] = "disable-settings-window"; | 610 const char kDisableSettingsWindow[] = "disable-settings-window"; |
607 | 611 |
608 // Enable SPDY/4, aka HTTP/2. This is a temporary testing flag. | 612 // Enable SPDY/4, aka HTTP/2. This is a temporary testing flag. |
609 const char kEnableSpdy4[] = "enable-spdy4"; | 613 const char kEnableSpdy4[] = "enable-spdy4"; |
610 | 614 |
611 // Enables auto correction for misspelled words. | 615 // Enables auto correction for misspelled words. |
612 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; | 616 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1403 | 1407 |
1404 // ----------------------------------------------------------------------------- | 1408 // ----------------------------------------------------------------------------- |
1405 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1409 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1406 // | 1410 // |
1407 // You were going to just dump your switches here, weren't you? Instead, please | 1411 // You were going to just dump your switches here, weren't you? Instead, please |
1408 // put them in alphabetical order above, or in order inside the appropriate | 1412 // put them in alphabetical order above, or in order inside the appropriate |
1409 // ifdef at the bottom. The order should match the header. | 1413 // ifdef at the bottom. The order should match the header. |
1410 // ----------------------------------------------------------------------------- | 1414 // ----------------------------------------------------------------------------- |
1411 | 1415 |
1412 } // namespace switches | 1416 } // namespace switches |
OLD | NEW |