| 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 extern const char kScriptBadgeCommandEvent[]; | 219 extern const char kScriptBadgeCommandEvent[]; |
| 220 extern const char kRunAtDocumentEnd[]; | 220 extern const char kRunAtDocumentEnd[]; |
| 221 extern const char kRunAtDocumentIdle[]; | 221 extern const char kRunAtDocumentIdle[]; |
| 222 extern const char kRunAtDocumentStart[]; | 222 extern const char kRunAtDocumentStart[]; |
| 223 | 223 |
| 224 } // manifest_values | 224 } // manifest_values |
| 225 | 225 |
| 226 // Error messages returned from extension installation. | 226 // Error messages returned from extension installation. |
| 227 namespace manifest_errors { | 227 namespace manifest_errors { |
| 228 | 228 |
| 229 extern const char kActiveTabPermissionNotGranted[]; |
| 230 extern const char kAllURLOrActiveTabNeeded[]; |
| 229 extern const char kAppsNotEnabled[]; | 231 extern const char kAppsNotEnabled[]; |
| 230 extern const char kBackgroundPermissionNeeded[]; | 232 extern const char kBackgroundPermissionNeeded[]; |
| 231 extern const char kBackgroundRequiredForPlatformApps[]; | 233 extern const char kBackgroundRequiredForPlatformApps[]; |
| 232 extern const char kCannotAccessChromeUrl[]; | 234 extern const char kCannotAccessChromeUrl[]; |
| 233 extern const char kCannotAccessExtensionUrl[]; | 235 extern const char kCannotAccessExtensionUrl[]; |
| 234 extern const char kCannotAccessPage[]; | 236 extern const char kCannotAccessPage[]; |
| 235 extern const char kCannotChangeExtensionID[]; | 237 extern const char kCannotChangeExtensionID[]; |
| 236 extern const char kCannotClaimAllHostsInExtent[]; | 238 extern const char kCannotClaimAllHostsInExtent[]; |
| 237 extern const char kCannotClaimAllURLsInExtent[]; | 239 extern const char kCannotClaimAllURLsInExtent[]; |
| 238 extern const char kCannotScriptGallery[]; | 240 extern const char kCannotScriptGallery[]; |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 extern const char kWebRequestConflictsWithLazyBackground[]; | 457 extern const char kWebRequestConflictsWithLazyBackground[]; |
| 456 #if defined(OS_CHROMEOS) | 458 #if defined(OS_CHROMEOS) |
| 457 extern const char kIllegalPlugins[]; | 459 extern const char kIllegalPlugins[]; |
| 458 #endif | 460 #endif |
| 459 | 461 |
| 460 } // namespace manifest_errors | 462 } // namespace manifest_errors |
| 461 | 463 |
| 462 } // namespace extensions | 464 } // namespace extensions |
| 463 | 465 |
| 464 #endif // EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ | 466 #endif // EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_ |
| OLD | NEW |