| 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 #ifndef EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ | 5 #ifndef EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ |
| 6 #define EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ | 6 #define EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 namespace extensions { | 10 namespace extensions { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 extern const char kBrowseURLs[]; | 29 extern const char kBrowseURLs[]; |
| 30 extern const char kChromeURLOverrides[]; | 30 extern const char kChromeURLOverrides[]; |
| 31 extern const char kCommands[]; | 31 extern const char kCommands[]; |
| 32 extern const char kContentCapabilities[]; | 32 extern const char kContentCapabilities[]; |
| 33 extern const char kContentScripts[]; | 33 extern const char kContentScripts[]; |
| 34 extern const char kContentSecurityPolicy[]; | 34 extern const char kContentSecurityPolicy[]; |
| 35 extern const char kConvertedFromUserScript[]; | 35 extern const char kConvertedFromUserScript[]; |
| 36 extern const char kCss[]; | 36 extern const char kCss[]; |
| 37 extern const char kCtrlKey[]; | 37 extern const char kCtrlKey[]; |
| 38 extern const char kCurrentLocale[]; | 38 extern const char kCurrentLocale[]; |
| 39 extern const char kDeclarativeNetRequestRulesetLocation[]; |
| 39 extern const char kDefaultLocale[]; | 40 extern const char kDefaultLocale[]; |
| 40 extern const char kDescription[]; | 41 extern const char kDescription[]; |
| 41 extern const char kDevToolsPage[]; | 42 extern const char kDevToolsPage[]; |
| 42 extern const char kDisplayInLauncher[]; | 43 extern const char kDisplayInLauncher[]; |
| 43 extern const char kDisplayInNewTabPage[]; | 44 extern const char kDisplayInNewTabPage[]; |
| 44 extern const char kEventName[]; | 45 extern const char kEventName[]; |
| 45 extern const char kExcludeGlobs[]; | 46 extern const char kExcludeGlobs[]; |
| 46 extern const char kExcludeMatches[]; | 47 extern const char kExcludeMatches[]; |
| 47 extern const char kExport[]; | 48 extern const char kExport[]; |
| 48 extern const char kExternallyConnectable[]; | 49 extern const char kExternallyConnectable[]; |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 extern const char kActionHandlerEnabledOnLockScreenKey[]; | 195 extern const char kActionHandlerEnabledOnLockScreenKey[]; |
| 195 extern const char kFileSystemProviderCapabilities[]; | 196 extern const char kFileSystemProviderCapabilities[]; |
| 196 #endif | 197 #endif |
| 197 } // namespace manifest_keys | 198 } // namespace manifest_keys |
| 198 | 199 |
| 199 // Some values expected in manifests. | 200 // Some values expected in manifests. |
| 200 namespace manifest_values { | 201 namespace manifest_values { |
| 201 | 202 |
| 202 extern const char kApiKey[]; | 203 extern const char kApiKey[]; |
| 203 extern const char kBrowserActionCommandEvent[]; | 204 extern const char kBrowserActionCommandEvent[]; |
| 205 extern const char kDeclarativeNetRequest[]; |
| 204 extern const char kIncognitoNotAllowed[]; | 206 extern const char kIncognitoNotAllowed[]; |
| 205 extern const char kIncognitoSplit[]; | 207 extern const char kIncognitoSplit[]; |
| 206 extern const char kIncognitoSpanning[]; | 208 extern const char kIncognitoSpanning[]; |
| 207 extern const char kIsolatedStorage[]; | 209 extern const char kIsolatedStorage[]; |
| 208 extern const char kKeybindingPlatformChromeOs[]; | 210 extern const char kKeybindingPlatformChromeOs[]; |
| 209 extern const char kKeybindingPlatformDefault[]; | 211 extern const char kKeybindingPlatformDefault[]; |
| 210 extern const char kKeybindingPlatformLinux[]; | 212 extern const char kKeybindingPlatformLinux[]; |
| 211 extern const char kKeybindingPlatformMac[]; | 213 extern const char kKeybindingPlatformMac[]; |
| 212 extern const char kKeybindingPlatformWin[]; | 214 extern const char kKeybindingPlatformWin[]; |
| 213 extern const char kKeyAlt[]; | 215 extern const char kKeyAlt[]; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 extern const char kCannotAccessExtensionUrl[]; | 263 extern const char kCannotAccessExtensionUrl[]; |
| 262 extern const char kCannotAccessPage[]; | 264 extern const char kCannotAccessPage[]; |
| 263 extern const char kCannotAccessPageWithUrl[]; | 265 extern const char kCannotAccessPageWithUrl[]; |
| 264 extern const char kCannotChangeExtensionID[]; | 266 extern const char kCannotChangeExtensionID[]; |
| 265 extern const char kCannotClaimAllHostsInExtent[]; | 267 extern const char kCannotClaimAllHostsInExtent[]; |
| 266 extern const char kCannotClaimAllURLsInExtent[]; | 268 extern const char kCannotClaimAllURLsInExtent[]; |
| 267 extern const char kCannotScriptGallery[]; | 269 extern const char kCannotScriptGallery[]; |
| 268 extern const char kCannotScriptSigninPage[]; | 270 extern const char kCannotScriptSigninPage[]; |
| 269 extern const char kCannotUninstallManagedExtension[]; | 271 extern const char kCannotUninstallManagedExtension[]; |
| 270 extern const char kChromeVersionTooLow[]; | 272 extern const char kChromeVersionTooLow[]; |
| 273 extern const char kDeclarativeNetRequestRequired[]; |
| 271 extern const char kDevToolsExperimental[]; | 274 extern const char kDevToolsExperimental[]; |
| 272 extern const char kDisabledByPolicy[]; | 275 extern const char kDisabledByPolicy[]; |
| 273 extern const char kExpectString[]; | 276 extern const char kExpectString[]; |
| 274 extern const char kFileNotFound[]; | 277 extern const char kFileNotFound[]; |
| 275 extern const char kInvalidAboutPage[]; | 278 extern const char kInvalidAboutPage[]; |
| 276 extern const char kInvalidAboutPageExpectRelativePath[]; | 279 extern const char kInvalidAboutPageExpectRelativePath[]; |
| 277 extern const char kInvalidAllFrames[]; | 280 extern const char kInvalidAllFrames[]; |
| 278 extern const char kInvalidAppIconColor[]; | 281 extern const char kInvalidAppIconColor[]; |
| 279 extern const char kInvalidBackground[]; | 282 extern const char kInvalidBackground[]; |
| 280 extern const char kInvalidBackgroundAllowJsAccess[]; | 283 extern const char kInvalidBackgroundAllowJsAccess[]; |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 extern const char kInvalidActionHandlersType[]; | 501 extern const char kInvalidActionHandlersType[]; |
| 499 extern const char kInvalidFileSystemProviderMissingCapabilities[]; | 502 extern const char kInvalidFileSystemProviderMissingCapabilities[]; |
| 500 extern const char kInvalidFileSystemProviderMissingPermission[]; | 503 extern const char kInvalidFileSystemProviderMissingPermission[]; |
| 501 #endif | 504 #endif |
| 502 | 505 |
| 503 } // namespace manifest_errors | 506 } // namespace manifest_errors |
| 504 | 507 |
| 505 } // namespace extensions | 508 } // namespace extensions |
| 506 | 509 |
| 507 #endif // EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ | 510 #endif // EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ |
| OLD | NEW |