| 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 extern const char kLaunchContainerTab[]; | 215 extern const char kLaunchContainerTab[]; |
| 216 extern const char kLaunchContainerWindow[]; | 216 extern const char kLaunchContainerWindow[]; |
| 217 extern const char kPageActionCommandEvent[]; | 217 extern const char kPageActionCommandEvent[]; |
| 218 extern const char kPageActionTypePermanent[]; | 218 extern const char kPageActionTypePermanent[]; |
| 219 extern const char kPageActionTypeTab[]; | 219 extern const char kPageActionTypeTab[]; |
| 220 extern const char kScriptBadgeCommandEvent[]; | 220 extern const char kScriptBadgeCommandEvent[]; |
| 221 extern const char kRunAtDocumentEnd[]; | 221 extern const char kRunAtDocumentEnd[]; |
| 222 extern const char kRunAtDocumentIdle[]; | 222 extern const char kRunAtDocumentIdle[]; |
| 223 extern const char kRunAtDocumentStart[]; | 223 extern const char kRunAtDocumentStart[]; |
| 224 | 224 |
| 225 } // manifest_values | 225 } // namespace manifest_values |
| 226 | 226 |
| 227 // Error messages returned from extension installation. | 227 // Error messages returned from extension installation. |
| 228 namespace manifest_errors { | 228 namespace manifest_errors { |
| 229 | 229 |
| 230 extern const char kActiveTabPermissionNotGranted[]; | 230 extern const char kActiveTabPermissionNotGranted[]; |
| 231 extern const char kAllURLOrActiveTabNeeded[]; | 231 extern const char kAllURLOrActiveTabNeeded[]; |
| 232 extern const char kAppsNotEnabled[]; | 232 extern const char kAppsNotEnabled[]; |
| 233 extern const char kBackgroundPermissionNeeded[]; | 233 extern const char kBackgroundPermissionNeeded[]; |
| 234 extern const char kBackgroundRequiredForPlatformApps[]; | 234 extern const char kBackgroundRequiredForPlatformApps[]; |
| 235 extern const char kCannotAccessChromeUrl[]; | 235 extern const char kCannotAccessChromeUrl[]; |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 extern const char kInvalidPageActionIconPath[]; | 368 extern const char kInvalidPageActionIconPath[]; |
| 369 extern const char kInvalidPageActionId[]; | 369 extern const char kInvalidPageActionId[]; |
| 370 extern const char kInvalidPageActionName[]; | 370 extern const char kInvalidPageActionName[]; |
| 371 extern const char kInvalidPageActionOldAndNewKeys[]; | 371 extern const char kInvalidPageActionOldAndNewKeys[]; |
| 372 extern const char kInvalidPageActionPopup[]; | 372 extern const char kInvalidPageActionPopup[]; |
| 373 extern const char kInvalidPageActionPopupHeight[]; | 373 extern const char kInvalidPageActionPopupHeight[]; |
| 374 extern const char kInvalidPageActionPopupPath[]; | 374 extern const char kInvalidPageActionPopupPath[]; |
| 375 extern const char kInvalidPageActionsList[]; | 375 extern const char kInvalidPageActionsList[]; |
| 376 extern const char kInvalidPageActionsListSize[]; | 376 extern const char kInvalidPageActionsListSize[]; |
| 377 extern const char kInvalidPageActionTypeValue[]; | 377 extern const char kInvalidPageActionTypeValue[]; |
| 378 extern const char kInvalidPermissionWithDetail[]; |
| 378 extern const char kInvalidPermission[]; | 379 extern const char kInvalidPermission[]; |
| 379 extern const char kInvalidPermissions[]; | 380 extern const char kInvalidPermissions[]; |
| 380 extern const char kInvalidPermissionScheme[]; | 381 extern const char kInvalidPermissionScheme[]; |
| 381 extern const char kInvalidPlugins[]; | 382 extern const char kInvalidPlugins[]; |
| 382 extern const char kInvalidPluginsPath[]; | 383 extern const char kInvalidPluginsPath[]; |
| 383 extern const char kInvalidPluginsPublic[]; | 384 extern const char kInvalidPluginsPublic[]; |
| 384 extern const char kInvalidRequirement[]; | 385 extern const char kInvalidRequirement[]; |
| 385 extern const char kInvalidRequirements[]; | 386 extern const char kInvalidRequirements[]; |
| 386 extern const char kInvalidRunAt[]; | 387 extern const char kInvalidRunAt[]; |
| 387 extern const char kInvalidSandboxedPagesList[]; | 388 extern const char kInvalidSandboxedPagesList[]; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 extern const char kWebRequestConflictsWithLazyBackground[]; | 460 extern const char kWebRequestConflictsWithLazyBackground[]; |
| 460 #if defined(OS_CHROMEOS) | 461 #if defined(OS_CHROMEOS) |
| 461 extern const char kIllegalPlugins[]; | 462 extern const char kIllegalPlugins[]; |
| 462 #endif | 463 #endif |
| 463 | 464 |
| 464 } // namespace manifest_errors | 465 } // namespace manifest_errors |
| 465 | 466 |
| 466 } // namespace extensions | 467 } // namespace extensions |
| 467 | 468 |
| 468 #endif // EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ | 469 #endif // EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ |
| OLD | NEW |