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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 // User should set breakpoints on Alarm() to examine problematic thread. | 648 // User should set breakpoints on Alarm() to examine problematic thread. |
649 // | 649 // |
650 // Usage: -enable-watchdog=[ui][io] | 650 // Usage: -enable-watchdog=[ui][io] |
651 // | 651 // |
652 // Order of the listed sub-arguments does not matter. | 652 // Order of the listed sub-arguments does not matter. |
653 const char kEnableWatchdog[] = "enable-watchdog"; | 653 const char kEnableWatchdog[] = "enable-watchdog"; |
654 | 654 |
655 // Uses WebSocket over SPDY. | 655 // Uses WebSocket over SPDY. |
656 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; | 656 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; |
657 | 657 |
| 658 // Enable <webview> in Chrome Apps. |
| 659 const char kEnableWebView[] = "enable-webview"; |
| 660 |
658 // Explicitly allows additional ports using a comma-separated list of port | 661 // Explicitly allows additional ports using a comma-separated list of port |
659 // numbers. | 662 // numbers. |
660 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; | 663 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; |
661 | 664 |
662 // The time in seconds that an extension event page can be idle before it | 665 // The time in seconds that an extension event page can be idle before it |
663 // is shut down. | 666 // is shut down. |
664 const char kEventPageIdleTime[] = "event-page-idle-time"; | 667 const char kEventPageIdleTime[] = "event-page-idle-time"; |
665 | 668 |
666 // The time in seconds that an extension event page has between being notified | 669 // The time in seconds that an extension event page has between being notified |
667 // of its impending unload and that unload happening. | 670 // of its impending unload and that unload happening. |
(...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1584 return true; | 1587 return true; |
1585 #elif defined(OS_WIN) | 1588 #elif defined(OS_WIN) |
1586 return true; | 1589 return true; |
1587 #else | 1590 #else |
1588 return CommandLine::ForCurrentProcess()->HasSwitch( | 1591 return CommandLine::ForCurrentProcess()->HasSwitch( |
1589 switches::kEnableFramelessConstrainedDialogs); | 1592 switches::kEnableFramelessConstrainedDialogs); |
1590 #endif | 1593 #endif |
1591 } | 1594 } |
1592 | 1595 |
1593 } // namespace chrome | 1596 } // namespace chrome |
OLD | NEW |