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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 // The time in milliseconds that an extension event page has between being | 44 // The time in milliseconds that an extension event page has between being |
45 // notified of its impending unload and that unload happening. | 45 // notified of its impending unload and that unload happening. |
46 const char kEventPageSuspendingTime[] = "event-page-unloading-time"; | 46 const char kEventPageSuspendingTime[] = "event-page-unloading-time"; |
47 | 47 |
48 // Enables extensions running scripts on chrome:// URLs. | 48 // Enables extensions running scripts on chrome:// URLs. |
49 // Extensions still need to explicitly request access to chrome:// URLs in the | 49 // Extensions still need to explicitly request access to chrome:// URLs in the |
50 // manifest. | 50 // manifest. |
51 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; | 51 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; |
52 | 52 |
| 53 // Whether to force developer mode extensions highlighting. |
| 54 const char kForceDevModeHighlighting[] = "force-dev-mode-highlighting"; |
| 55 |
53 // Enables setting global commands through the Extensions Commands API. | 56 // Enables setting global commands through the Extensions Commands API. |
54 const char kGlobalCommands[] = "global-commands"; | 57 const char kGlobalCommands[] = "global-commands"; |
55 | 58 |
56 // Should we prompt the user before allowing external extensions to install? | 59 // Should we prompt the user before allowing external extensions to install? |
57 // Default is yes. | 60 // Default is yes. |
58 const char kPromptForExternalExtensions[] = "prompt-for-external-extensions"; | 61 const char kPromptForExternalExtensions[] = "prompt-for-external-extensions"; |
59 | 62 |
60 // Enables or disables extension scripts badges in the location bar. | 63 // Enables or disables extension scripts badges in the location bar. |
61 const char kScriptBadges[] = "script-badges"; | 64 const char kScriptBadges[] = "script-badges"; |
62 | 65 |
63 // Enable or diable the "script bubble" icon in the URL bar that tells you how | 66 // Enable or diable the "script bubble" icon in the URL bar that tells you how |
64 // many extensions are running scripts on a page. | 67 // many extensions are running scripts on a page. |
65 const char kScriptBubble[] = "script-bubble"; | 68 const char kScriptBubble[] = "script-bubble"; |
66 | 69 |
67 // Makes component extensions appear in chrome://settings/extensions. | 70 // Makes component extensions appear in chrome://settings/extensions. |
68 const char kShowComponentExtensionOptions[] = | 71 const char kShowComponentExtensionOptions[] = |
69 "show-component-extension-options"; | 72 "show-component-extension-options"; |
70 | 73 |
71 } // namespace switches | 74 } // namespace switches |
72 | 75 |
73 } // namespace extensions | 76 } // namespace extensions |
OLD | NEW |