| 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 namespace extensions { | 8 namespace extensions { |
| 9 | 9 |
| 10 // Keys used in JSON representation of extensions. | 10 // Keys used in JSON representation of extensions. |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 extern const char kWebviewName[]; | 180 extern const char kWebviewName[]; |
| 181 extern const char kWebviewAccessibleResources[]; | 181 extern const char kWebviewAccessibleResources[]; |
| 182 extern const char kWebviewPartitions[]; | 182 extern const char kWebviewPartitions[]; |
| 183 extern const char kWhitelist[]; | 183 extern const char kWhitelist[]; |
| 184 | 184 |
| 185 } // namespace manifest_keys | 185 } // namespace manifest_keys |
| 186 | 186 |
| 187 // Some values expected in manifests. | 187 // Some values expected in manifests. |
| 188 namespace manifest_values { | 188 namespace manifest_values { |
| 189 | 189 |
| 190 extern const char kApiKey[]; |
| 190 extern const char kBrowserActionCommandEvent[]; | 191 extern const char kBrowserActionCommandEvent[]; |
| 191 extern const char kIncognitoSplit[]; | 192 extern const char kIncognitoSplit[]; |
| 192 extern const char kIncognitoSpanning[]; | 193 extern const char kIncognitoSpanning[]; |
| 193 extern const char kIsolatedStorage[]; | 194 extern const char kIsolatedStorage[]; |
| 194 extern const char kKeybindingPlatformChromeOs[]; | 195 extern const char kKeybindingPlatformChromeOs[]; |
| 195 extern const char kKeybindingPlatformDefault[]; | 196 extern const char kKeybindingPlatformDefault[]; |
| 196 extern const char kKeybindingPlatformLinux[]; | 197 extern const char kKeybindingPlatformLinux[]; |
| 197 extern const char kKeybindingPlatformMac[]; | 198 extern const char kKeybindingPlatformMac[]; |
| 198 extern const char kKeybindingPlatformWin[]; | 199 extern const char kKeybindingPlatformWin[]; |
| 199 extern const char kKeyAlt[]; | 200 extern const char kKeyAlt[]; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 220 extern const char kKeySeparator[]; | 221 extern const char kKeySeparator[]; |
| 221 extern const char kKeySpace[]; | 222 extern const char kKeySpace[]; |
| 222 extern const char kKeyTab[]; | 223 extern const char kKeyTab[]; |
| 223 extern const char kKeyUp[]; | 224 extern const char kKeyUp[]; |
| 224 extern const char kLaunchContainerPanel[]; | 225 extern const char kLaunchContainerPanel[]; |
| 225 extern const char kLaunchContainerTab[]; | 226 extern const char kLaunchContainerTab[]; |
| 226 extern const char kLaunchContainerWindow[]; | 227 extern const char kLaunchContainerWindow[]; |
| 227 extern const char kPageActionCommandEvent[]; | 228 extern const char kPageActionCommandEvent[]; |
| 228 extern const char kPageActionTypePermanent[]; | 229 extern const char kPageActionTypePermanent[]; |
| 229 extern const char kPageActionTypeTab[]; | 230 extern const char kPageActionTypeTab[]; |
| 230 extern const char kProjectId[]; | |
| 231 extern const char kRunAtDocumentEnd[]; | 231 extern const char kRunAtDocumentEnd[]; |
| 232 extern const char kRunAtDocumentIdle[]; | 232 extern const char kRunAtDocumentIdle[]; |
| 233 extern const char kRunAtDocumentStart[]; | 233 extern const char kRunAtDocumentStart[]; |
| 234 | 234 |
| 235 } // namespace manifest_values | 235 } // namespace manifest_values |
| 236 | 236 |
| 237 // Error messages returned from extension installation. | 237 // Error messages returned from extension installation. |
| 238 namespace manifest_errors { | 238 namespace manifest_errors { |
| 239 | 239 |
| 240 extern const char kActiveTabPermissionNotGranted[]; | 240 extern const char kActiveTabPermissionNotGranted[]; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 extern const char kInvalidContentCapabilities[]; | 275 extern const char kInvalidContentCapabilities[]; |
| 276 extern const char kInvalidContentCapabilitiesMatch[]; | 276 extern const char kInvalidContentCapabilitiesMatch[]; |
| 277 extern const char kInvalidContentCapabilitiesMatchOrigin[]; | 277 extern const char kInvalidContentCapabilitiesMatchOrigin[]; |
| 278 extern const char kInvalidContentCapabilitiesPermission[]; | 278 extern const char kInvalidContentCapabilitiesPermission[]; |
| 279 extern const char kInvalidContentPack[]; | 279 extern const char kInvalidContentPack[]; |
| 280 extern const char kInvalidContentPackSites[]; | 280 extern const char kInvalidContentPackSites[]; |
| 281 extern const char kInvalidContentScript[]; | 281 extern const char kInvalidContentScript[]; |
| 282 extern const char kInvalidContentScriptsList[]; | 282 extern const char kInvalidContentScriptsList[]; |
| 283 extern const char kInvalidContentSecurityPolicy[]; | 283 extern const char kInvalidContentSecurityPolicy[]; |
| 284 extern const char kInvalidCopresenceConfig[]; | 284 extern const char kInvalidCopresenceConfig[]; |
| 285 extern const char kInvalidCopresenceProjectId[]; | 285 extern const char kInvalidCopresenceApiKey[]; |
| 286 extern const char kInvalidCSPInsecureValue[]; | 286 extern const char kInvalidCSPInsecureValue[]; |
| 287 extern const char kInvalidCSPMissingSecureSrc[]; | 287 extern const char kInvalidCSPMissingSecureSrc[]; |
| 288 extern const char kInvalidCss[]; | 288 extern const char kInvalidCss[]; |
| 289 extern const char kInvalidCssList[]; | 289 extern const char kInvalidCssList[]; |
| 290 extern const char kInvalidDefaultLocale[]; | 290 extern const char kInvalidDefaultLocale[]; |
| 291 extern const char kInvalidDescription[]; | 291 extern const char kInvalidDescription[]; |
| 292 extern const char kInvalidDevToolsPage[]; | 292 extern const char kInvalidDevToolsPage[]; |
| 293 extern const char kInvalidDisplayInLauncher[]; | 293 extern const char kInvalidDisplayInLauncher[]; |
| 294 extern const char kInvalidDisplayInNewTabPage[]; | 294 extern const char kInvalidDisplayInNewTabPage[]; |
| 295 extern const char kInvalidEmptyDictionary[]; | 295 extern const char kInvalidEmptyDictionary[]; |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 extern const char kWebRequestConflictsWithLazyBackground[]; | 468 extern const char kWebRequestConflictsWithLazyBackground[]; |
| 469 #if defined(OS_CHROMEOS) | 469 #if defined(OS_CHROMEOS) |
| 470 extern const char kIllegalPlugins[]; | 470 extern const char kIllegalPlugins[]; |
| 471 #endif | 471 #endif |
| 472 | 472 |
| 473 } // namespace manifest_errors | 473 } // namespace manifest_errors |
| 474 | 474 |
| 475 } // namespace extensions | 475 } // namespace extensions |
| 476 | 476 |
| 477 #endif // EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ | 477 #endif // EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ |
| OLD | NEW |