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 17 matching lines...) Expand all Loading... |
28 const char kErrorConsole[] = "error-console"; | 28 const char kErrorConsole[] = "error-console"; |
29 | 29 |
30 // The time in milliseconds that an extension event page can be idle before it | 30 // The time in milliseconds that an extension event page can be idle before it |
31 // is shut down. | 31 // is shut down. |
32 const char kEventPageIdleTime[] = "event-page-idle-time"; | 32 const char kEventPageIdleTime[] = "event-page-idle-time"; |
33 | 33 |
34 // The time in milliseconds that an extension event page has between being | 34 // The time in milliseconds that an extension event page has between being |
35 // notified of its impending unload and that unload happening. | 35 // notified of its impending unload and that unload happening. |
36 const char kEventPageSuspendingTime[] = "event-page-unloading-time"; | 36 const char kEventPageSuspendingTime[] = "event-page-unloading-time"; |
37 | 37 |
| 38 // Whether to switch to extension action redesign mode (experimental). |
| 39 const char kExtensionActionRedesign[] = "extension-action-redesign"; |
| 40 |
38 // Marks a renderer as extension process. | 41 // Marks a renderer as extension process. |
39 const char kExtensionProcess[] = "extension-process"; | 42 const char kExtensionProcess[] = "extension-process"; |
40 | 43 |
41 // Enables extensions running scripts on chrome:// URLs. | 44 // Enables extensions running scripts on chrome:// URLs. |
42 // Extensions still need to explicitly request access to chrome:// URLs in the | 45 // Extensions still need to explicitly request access to chrome:// URLs in the |
43 // manifest. | 46 // manifest. |
44 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; | 47 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; |
45 | 48 |
46 // Whether to force developer mode extensions highlighting. | 49 // Whether to force developer mode extensions highlighting. |
47 const char kForceDevModeHighlighting[] = "force-dev-mode-highlighting"; | 50 const char kForceDevModeHighlighting[] = "force-dev-mode-highlighting"; |
(...skipping 15 matching lines...) Expand all Loading... |
63 // Makes component extensions appear in chrome://settings/extensions. | 66 // Makes component extensions appear in chrome://settings/extensions. |
64 const char kShowComponentExtensionOptions[] = | 67 const char kShowComponentExtensionOptions[] = |
65 "show-component-extension-options"; | 68 "show-component-extension-options"; |
66 | 69 |
67 // Adds the given extension ID to all the permission whitelists. | 70 // Adds the given extension ID to all the permission whitelists. |
68 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; | 71 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; |
69 | 72 |
70 } // namespace switches | 73 } // namespace switches |
71 | 74 |
72 } // namespace extensions | 75 } // namespace extensions |
OLD | NEW |