OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "extensions/common/switches.h" | 5 #include "extensions/common/switches.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... | |
27 const char kEasyOffStoreExtensionInstall[] = "easy-off-store-extension-install"; | 27 const char kEasyOffStoreExtensionInstall[] = "easy-off-store-extension-install"; |
28 | 28 |
29 // Enables extension APIs that are in development. | 29 // Enables extension APIs that are in development. |
30 const char kEnableExperimentalExtensionApis[] = | 30 const char kEnableExperimentalExtensionApis[] = |
31 "enable-experimental-extension-apis"; | 31 "enable-experimental-extension-apis"; |
32 | 32 |
33 // Allows the ErrorConsole to collect runtime and manifest errors, and display | 33 // Allows the ErrorConsole to collect runtime and manifest errors, and display |
34 // them in the chrome:extensions page. | 34 // them in the chrome:extensions page. |
35 const char kErrorConsole[] = "error-console"; | 35 const char kErrorConsole[] = "error-console"; |
36 | 36 |
37 // The time in seconds that an extension event page can be idle before it | 37 // The time in milliseconds that an extension event page can be idle before it |
scheib
2013/12/02 21:22:38
Done.
| |
38 // is shut down. | 38 // is shut down. |
39 const char kEventPageIdleTime[] = "event-page-idle-time"; | 39 const char kEventPageIdleTime[] = "event-page-idle-time"; |
40 | 40 |
41 // The time in seconds that an extension event page has between being notified | 41 // The time in milliseconds that an extension event page has between being |
42 // of its impending unload and that unload happening. | 42 // notified of its impending unload and that unload happening. |
43 const char kEventPageSuspendingTime[] = "event-page-unloading-time"; | 43 const char kEventPageSuspendingTime[] = "event-page-unloading-time"; |
44 | 44 |
45 // Enables extensions running scripts on chrome:// URLs. | 45 // Enables extensions running scripts on chrome:// URLs. |
46 // Extensions still need to explicitly request access to chrome:// URLs in the | 46 // Extensions still need to explicitly request access to chrome:// URLs in the |
47 // manifest. | 47 // manifest. |
48 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; | 48 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; |
49 | 49 |
50 // Enables setting global commands through the Extensions Commands API. | 50 // Enables setting global commands through the Extensions Commands API. |
51 const char kGlobalCommands[] = "global-commands"; | 51 const char kGlobalCommands[] = "global-commands"; |
52 | 52 |
53 // Should we prompt the user before allowing external extensions to install? | 53 // Should we prompt the user before allowing external extensions to install? |
54 // Default is yes. | 54 // Default is yes. |
55 const char kPromptForExternalExtensions[] = "prompt-for-external-extensions"; | 55 const char kPromptForExternalExtensions[] = "prompt-for-external-extensions"; |
56 | 56 |
57 // Enables or disables extension scripts badges in the location bar. | 57 // Enables or disables extension scripts badges in the location bar. |
58 const char kScriptBadges[] = "script-badges"; | 58 const char kScriptBadges[] = "script-badges"; |
59 | 59 |
60 // Enable or diable the "script bubble" icon in the URL bar that tells you how | 60 // Enable or diable the "script bubble" icon in the URL bar that tells you how |
61 // many extensions are running scripts on a page. | 61 // many extensions are running scripts on a page. |
62 const char kScriptBubble[] = "script-bubble"; | 62 const char kScriptBubble[] = "script-bubble"; |
63 | 63 |
64 // Makes component extensions appear in chrome://settings/extensions. | 64 // Makes component extensions appear in chrome://settings/extensions. |
65 const char kShowComponentExtensionOptions[] = | 65 const char kShowComponentExtensionOptions[] = |
66 "show-component-extension-options"; | 66 "show-component-extension-options"; |
67 | 67 |
68 } // namespace switches | 68 } // namespace switches |
69 | 69 |
70 } // namespace extensions | 70 } // namespace extensions |
OLD | NEW |