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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // kEnableScriptsRequireAction. | 53 // kEnableScriptsRequireAction. |
54 const char kEnableMimeHandlerView[] = "enable-mime-handler-view"; | 54 const char kEnableMimeHandlerView[] = "enable-mime-handler-view"; |
55 | 55 |
56 // Enables extensions to hide bookmarks UI elements. | 56 // Enables extensions to hide bookmarks UI elements. |
57 const char kEnableOverrideBookmarksUI[] = "enable-override-bookmarks-ui"; | 57 const char kEnableOverrideBookmarksUI[] = "enable-override-bookmarks-ui"; |
58 | 58 |
59 // Allows the ErrorConsole to collect runtime and manifest errors, and display | 59 // Allows the ErrorConsole to collect runtime and manifest errors, and display |
60 // them in the chrome:extensions page. | 60 // them in the chrome:extensions page. |
61 const char kErrorConsole[] = "error-console"; | 61 const char kErrorConsole[] = "error-console"; |
62 | 62 |
63 // The time in milliseconds that an extension event page can be idle before it | |
64 // is shut down. | |
65 const char kEventPageIdleTime[] = "event-page-idle-time"; | |
66 | |
67 // The time in milliseconds that an extension event page has between being | |
68 // notified of its impending unload and that unload happening. | |
69 const char kEventPageSuspendingTime[] = "event-page-unloading-time"; | |
70 | |
71 // Whether to switch to extension action redesign mode (experimental). | 63 // Whether to switch to extension action redesign mode (experimental). |
72 const char kExtensionActionRedesign[] = "extension-action-redesign"; | 64 const char kExtensionActionRedesign[] = "extension-action-redesign"; |
73 | 65 |
74 // Marks a renderer as extension process. | 66 // Marks a renderer as extension process. |
75 const char kExtensionProcess[] = "extension-process"; | 67 const char kExtensionProcess[] = "extension-process"; |
76 | 68 |
77 // Enables extensions running scripts on chrome:// URLs. | 69 // Enables extensions running scripts on chrome:// URLs. |
78 // Extensions still need to explicitly request access to chrome:// URLs in the | 70 // Extensions still need to explicitly request access to chrome:// URLs in the |
79 // manifest. | 71 // manifest. |
80 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; | 72 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; |
(...skipping 18 matching lines...) Expand all Loading... |
99 // Makes component extensions appear in chrome://settings/extensions. | 91 // Makes component extensions appear in chrome://settings/extensions. |
100 const char kShowComponentExtensionOptions[] = | 92 const char kShowComponentExtensionOptions[] = |
101 "show-component-extension-options"; | 93 "show-component-extension-options"; |
102 | 94 |
103 // Adds the given extension ID to all the permission whitelists. | 95 // Adds the given extension ID to all the permission whitelists. |
104 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; | 96 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; |
105 | 97 |
106 } // namespace switches | 98 } // namespace switches |
107 | 99 |
108 } // namespace extensions | 100 } // namespace extensions |
OLD | NEW |