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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; | 58 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; |
59 | 59 |
60 // Specifies that the extension-app with the specified id should be launched | 60 // Specifies that the extension-app with the specified id should be launched |
61 // according to its configuration. | 61 // according to its configuration. |
62 const char kAppId[] = "app-id"; | 62 const char kAppId[] = "app-id"; |
63 | 63 |
64 // Specifies that the associated value should be launched in "application" | 64 // Specifies that the associated value should be launched in "application" |
65 // mode. | 65 // mode. |
66 const char kApp[] = "app"; | 66 const char kApp[] = "app"; |
67 | 67 |
| 68 // Flag to enable apps_debugger app. |
| 69 const char kAppsDebugger[] = "apps-debugger"; |
| 70 |
68 // Specifies the initial size for application windows launched with --app. | 71 // Specifies the initial size for application windows launched with --app. |
69 // --app-window-size=w,h | 72 // --app-window-size=w,h |
70 const char kAppWindowSize[] = "app-window-size"; | 73 const char kAppWindowSize[] = "app-window-size"; |
71 | 74 |
72 // A URL for the server which assigns channel ids for server pushed app | 75 // A URL for the server which assigns channel ids for server pushed app |
73 // notifications. | 76 // notifications. |
74 const char kAppNotifyChannelServerURL[] = "app-notify-channel-server-url"; | 77 const char kAppNotifyChannelServerURL[] = "app-notify-channel-server-url"; |
75 | 78 |
76 // Overrides the apps checkout URL, which is used to determine when to expose | 79 // Overrides the apps checkout URL, which is used to determine when to expose |
77 // some private APIs. | 80 // some private APIs. |
(...skipping 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1632 #elif defined(OS_WIN) | 1635 #elif defined(OS_WIN) |
1633 return CommandLine::ForCurrentProcess()->HasSwitch( | 1636 return CommandLine::ForCurrentProcess()->HasSwitch( |
1634 switches::kEnableChromeStyleDialogs); | 1637 switches::kEnableChromeStyleDialogs); |
1635 #else | 1638 #else |
1636 return CommandLine::ForCurrentProcess()->HasSwitch( | 1639 return CommandLine::ForCurrentProcess()->HasSwitch( |
1637 switches::kEnableChromeStyleDialogs); | 1640 switches::kEnableChromeStyleDialogs); |
1638 #endif | 1641 #endif |
1639 } | 1642 } |
1640 | 1643 |
1641 } // namespace chrome | 1644 } // namespace chrome |
OLD | NEW |