| 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 |
| 11 // Allows non-https URL for background_page for hosted apps. |
| 12 const char kAllowHTTPBackgroundPage[] = "allow-http-background-page"; |
| 13 |
| 11 // Allows the browser to load extensions that lack a modern manifest when that | 14 // Allows the browser to load extensions that lack a modern manifest when that |
| 12 // would otherwise be forbidden. | 15 // would otherwise be forbidden. |
| 13 const char kAllowLegacyExtensionManifests[] = | 16 const char kAllowLegacyExtensionManifests[] = |
| 14 "allow-legacy-extension-manifests"; | 17 "allow-legacy-extension-manifests"; |
| 15 | 18 |
| 16 // Allows injecting extensions and user scripts on the extensions gallery | 19 // Allows injecting extensions and user scripts on the extensions gallery |
| 17 // site. Normally prevented for security reasons, but can be useful for | 20 // site. Normally prevented for security reasons, but can be useful for |
| 18 // automation testing of the gallery. | 21 // automation testing of the gallery. |
| 19 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; | 22 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; |
| 20 | 23 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // many extensions are running scripts on a page. | 61 // many extensions are running scripts on a page. |
| 59 const char kScriptBubble[] = "script-bubble"; | 62 const char kScriptBubble[] = "script-bubble"; |
| 60 | 63 |
| 61 // Makes component extensions appear in chrome://settings/extensions. | 64 // Makes component extensions appear in chrome://settings/extensions. |
| 62 const char kShowComponentExtensionOptions[] = | 65 const char kShowComponentExtensionOptions[] = |
| 63 "show-component-extension-options"; | 66 "show-component-extension-options"; |
| 64 | 67 |
| 65 } // namespace switches | 68 } // namespace switches |
| 66 | 69 |
| 67 } // namespace extensions | 70 } // namespace extensions |
| OLD | NEW |