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