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 // Values for the kExtensionContentVerification flag. See ContentVerifier::Mode | 41 // Values for the kExtensionContentVerification flag. See ContentVerifier::Mode |
39 // for more explanation. | 42 // for more explanation. |
40 const char kExtensionContentVerificationBootstrap[] = "bootstrap"; | 43 const char kExtensionContentVerificationBootstrap[] = "bootstrap"; |
41 const char kExtensionContentVerificationEnforceStrict[] = "enforce_strict"; | 44 const char kExtensionContentVerificationEnforceStrict[] = "enforce_strict"; |
42 const char kExtensionContentVerificationEnforce[] = "enforce"; | 45 const char kExtensionContentVerificationEnforce[] = "enforce"; |
43 | 46 |
44 // Name of the command line flag to force content verification to be on in one | 47 // Name of the command line flag to force content verification to be on in one |
45 // of various modes. | 48 // of various modes. |
46 const char kExtensionContentVerification[] = "extension-content-verification"; | 49 const char kExtensionContentVerification[] = "extension-content-verification"; |
47 | 50 |
(...skipping 25 matching lines...) Expand all Loading... |
73 // Makes component extensions appear in chrome://settings/extensions. | 76 // Makes component extensions appear in chrome://settings/extensions. |
74 const char kShowComponentExtensionOptions[] = | 77 const char kShowComponentExtensionOptions[] = |
75 "show-component-extension-options"; | 78 "show-component-extension-options"; |
76 | 79 |
77 // Adds the given extension ID to all the permission whitelists. | 80 // Adds the given extension ID to all the permission whitelists. |
78 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; | 81 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; |
79 | 82 |
80 } // namespace switches | 83 } // namespace switches |
81 | 84 |
82 } // namespace extensions | 85 } // namespace extensions |
OLD | NEW |