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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 const char kEnableExtensionActionRedesign[] = | 46 const char kEnableExtensionActionRedesign[] = |
47 "enable-extension-action-redesign"; | 47 "enable-extension-action-redesign"; |
48 | 48 |
49 // Enables extensions to hide bookmarks UI elements. | 49 // Enables extensions to hide bookmarks UI elements. |
50 const char kEnableOverrideBookmarksUI[] = "enable-override-bookmarks-ui"; | 50 const char kEnableOverrideBookmarksUI[] = "enable-override-bookmarks-ui"; |
51 | 51 |
52 // Allows the ErrorConsole to collect runtime and manifest errors, and display | 52 // Allows the ErrorConsole to collect runtime and manifest errors, and display |
53 // them in the chrome:extensions page. | 53 // them in the chrome:extensions page. |
54 const char kErrorConsole[] = "error-console"; | 54 const char kErrorConsole[] = "error-console"; |
55 | 55 |
56 // The time in milliseconds that an extension event page can be idle before it | |
57 // is shut down. | |
58 const char kEventPageIdleTime[] = "event-page-idle-time"; | |
59 | |
60 // The time in milliseconds that an extension event page has between being | |
61 // notified of its impending unload and that unload happening. | |
62 const char kEventPageSuspendingTime[] = "event-page-unloading-time"; | |
63 | |
64 // Whether to switch to extension action redesign mode (experimental). | 56 // Whether to switch to extension action redesign mode (experimental). |
65 const char kExtensionActionRedesign[] = "extension-action-redesign"; | 57 const char kExtensionActionRedesign[] = "extension-action-redesign"; |
66 | 58 |
67 // Marks a renderer as extension process. | 59 // Marks a renderer as extension process. |
68 const char kExtensionProcess[] = "extension-process"; | 60 const char kExtensionProcess[] = "extension-process"; |
69 | 61 |
70 // Enables extensions running scripts on chrome:// URLs. | 62 // Enables extensions running scripts on chrome:// URLs. |
71 // Extensions still need to explicitly request access to chrome:// URLs in the | 63 // Extensions still need to explicitly request access to chrome:// URLs in the |
72 // manifest. | 64 // manifest. |
73 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; | 65 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; |
(...skipping 15 matching lines...) Expand all Loading... |
89 // Makes component extensions appear in chrome://settings/extensions. | 81 // Makes component extensions appear in chrome://settings/extensions. |
90 const char kShowComponentExtensionOptions[] = | 82 const char kShowComponentExtensionOptions[] = |
91 "show-component-extension-options"; | 83 "show-component-extension-options"; |
92 | 84 |
93 // Adds the given extension ID to all the permission whitelists. | 85 // Adds the given extension ID to all the permission whitelists. |
94 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; | 86 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; |
95 | 87 |
96 } // namespace switches | 88 } // namespace switches |
97 | 89 |
98 } // namespace extensions | 90 } // namespace extensions |
OLD | NEW |