OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 extern const char kCannotChangeExtensionID[]; | 143 extern const char kCannotChangeExtensionID[]; |
144 extern const char kCannotClaimAllHostsInExtent[]; | 144 extern const char kCannotClaimAllHostsInExtent[]; |
145 extern const char kCannotClaimAllURLsInExtent[]; | 145 extern const char kCannotClaimAllURLsInExtent[]; |
146 extern const char kCannotScriptGallery[]; | 146 extern const char kCannotScriptGallery[]; |
147 extern const char kCannotUninstallManagedExtension[]; | 147 extern const char kCannotUninstallManagedExtension[]; |
148 extern const char kChromeVersionTooLow[]; | 148 extern const char kChromeVersionTooLow[]; |
149 extern const char kDevToolsExperimental[]; | 149 extern const char kDevToolsExperimental[]; |
150 extern const char kDisabledByPolicy[]; | 150 extern const char kDisabledByPolicy[]; |
151 extern const char kExperimentalFlagRequired[]; | 151 extern const char kExperimentalFlagRequired[]; |
152 extern const char kExpectString[]; | 152 extern const char kExpectString[]; |
153 extern const char kFeatureNotAllowed[]; | 153 extern const char kHostedAppsCannotIncludeExtensionFeatures[]; |
154 extern const char kInvalidAllFrames[]; | 154 extern const char kInvalidAllFrames[]; |
155 extern const char kInvalidBackground[]; | 155 extern const char kInvalidBackground[]; |
156 extern const char kInvalidBackgroundInHostedApp[]; | 156 extern const char kInvalidBackgroundInHostedApp[]; |
157 extern const char kInvalidBrowserAction[]; | 157 extern const char kInvalidBrowserAction[]; |
158 extern const char kInvalidBrowseURL[]; | 158 extern const char kInvalidBrowseURL[]; |
159 extern const char kInvalidBrowseURLs[]; | 159 extern const char kInvalidBrowseURLs[]; |
160 extern const char kInvalidChromeURLOverrides[]; | 160 extern const char kInvalidChromeURLOverrides[]; |
161 extern const char kInvalidContentScript[]; | 161 extern const char kInvalidContentScript[]; |
162 extern const char kInvalidContentScriptsList[]; | 162 extern const char kInvalidContentScriptsList[]; |
163 extern const char kInvalidContentSecurityPolicy[]; | 163 extern const char kInvalidContentSecurityPolicy[]; |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 extern const char kLocalesTreeMissing[]; | 273 extern const char kLocalesTreeMissing[]; |
274 extern const char kManifestParseError[]; | 274 extern const char kManifestParseError[]; |
275 extern const char kManifestUnreadable[]; | 275 extern const char kManifestUnreadable[]; |
276 extern const char kMissingFile[]; | 276 extern const char kMissingFile[]; |
277 extern const char kMultipleOverrides[]; | 277 extern const char kMultipleOverrides[]; |
278 extern const char kNoWildCardsInPaths[]; | 278 extern const char kNoWildCardsInPaths[]; |
279 extern const char kPermissionNotAllowed[]; | 279 extern const char kPermissionNotAllowed[]; |
280 extern const char kOneUISurfaceOnly[]; | 280 extern const char kOneUISurfaceOnly[]; |
281 extern const char kReservedMessageFound[]; | 281 extern const char kReservedMessageFound[]; |
282 extern const char kSidebarExperimental[]; | 282 extern const char kSidebarExperimental[]; |
| 283 extern const char kThemesCannotContainExtensions[]; |
283 extern const char kWebContentMustBeEnabled[]; | 284 extern const char kWebContentMustBeEnabled[]; |
284 #if defined(OS_CHROMEOS) | 285 #if defined(OS_CHROMEOS) |
285 extern const char kIllegalPlugins[]; | 286 extern const char kIllegalPlugins[]; |
286 #endif | 287 #endif |
287 } // namespace extension_manifest_errors | 288 } // namespace extension_manifest_errors |
288 | 289 |
289 namespace extension_urls { | 290 namespace extension_urls { |
290 // Returns the URL prefix for the extension/apps gallery. Can be set via the | 291 // Returns the URL prefix for the extension/apps gallery. Can be set via the |
291 // --apps-gallery-url switch. The URL returned will not contain a trailing | 292 // --apps-gallery-url switch. The URL returned will not contain a trailing |
292 // slash. Do not use this as a prefix/extent for the store. Instead see | 293 // slash. Do not use this as a prefix/extent for the store. Instead see |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 | 454 |
454 enum UnloadedExtensionReason { | 455 enum UnloadedExtensionReason { |
455 UNLOAD_REASON_DISABLE, // Extension is being disabled. | 456 UNLOAD_REASON_DISABLE, // Extension is being disabled. |
456 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. | 457 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. |
457 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. | 458 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. |
458 UNLOAD_REASON_TERMINATE, // Extension has terminated. | 459 UNLOAD_REASON_TERMINATE, // Extension has terminated. |
459 }; | 460 }; |
460 } // extension_misc | 461 } // extension_misc |
461 | 462 |
462 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 463 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |