OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
7 | 7 |
8 // Keys used in JSON representation of extensions. | 8 // Keys used in JSON representation of extensions. |
9 namespace extension_manifest_keys { | 9 namespace extension_manifest_keys { |
10 extern const wchar_t* kBackground; | 10 extern const wchar_t* kBackground; |
| 11 extern const wchar_t* kChromeURLOverrides; |
11 extern const wchar_t* kContentScripts; | 12 extern const wchar_t* kContentScripts; |
12 extern const wchar_t* kCss; | 13 extern const wchar_t* kCss; |
13 extern const wchar_t* kDefaultLocale; | 14 extern const wchar_t* kDefaultLocale; |
14 extern const wchar_t* kDescription; | 15 extern const wchar_t* kDescription; |
15 extern const wchar_t* kIcons; | 16 extern const wchar_t* kIcons; |
16 extern const wchar_t* kJs; | 17 extern const wchar_t* kJs; |
17 extern const wchar_t* kMatches; | 18 extern const wchar_t* kMatches; |
18 extern const wchar_t* kName; | 19 extern const wchar_t* kName; |
19 extern const wchar_t* kPageActionId; | 20 extern const wchar_t* kPageActionId; |
20 extern const wchar_t* kPageActions; | 21 extern const wchar_t* kPageActions; |
(...skipping 23 matching lines...) Expand all Loading... |
44 // Some values expected in manifests. | 45 // Some values expected in manifests. |
45 namespace extension_manifest_values { | 46 namespace extension_manifest_values { |
46 extern const char* kRunAtDocumentStart; | 47 extern const char* kRunAtDocumentStart; |
47 extern const char* kRunAtDocumentEnd; | 48 extern const char* kRunAtDocumentEnd; |
48 extern const char* kPageActionTypeTab; | 49 extern const char* kPageActionTypeTab; |
49 extern const char* kPageActionTypePermanent; | 50 extern const char* kPageActionTypePermanent; |
50 } // namespace extension_manifest_values | 51 } // namespace extension_manifest_values |
51 | 52 |
52 // Error messages returned from Extension::InitFromValue(). | 53 // Error messages returned from Extension::InitFromValue(). |
53 namespace extension_manifest_errors { | 54 namespace extension_manifest_errors { |
| 55 extern const char* kInvalidChromeURLOverrides; |
54 extern const char* kInvalidContentScript; | 56 extern const char* kInvalidContentScript; |
55 extern const char* kInvalidContentScriptsList; | 57 extern const char* kInvalidContentScriptsList; |
56 extern const char* kInvalidCss; | 58 extern const char* kInvalidCss; |
57 extern const char* kInvalidCssList; | 59 extern const char* kInvalidCssList; |
58 extern const char* kInvalidDescription; | 60 extern const char* kInvalidDescription; |
59 extern const char* kInvalidIcons; | 61 extern const char* kInvalidIcons; |
60 extern const char* kInvalidIconPath; | 62 extern const char* kInvalidIconPath; |
61 extern const char* kInvalidJs; | 63 extern const char* kInvalidJs; |
62 extern const char* kInvalidJsList; | 64 extern const char* kInvalidJsList; |
63 extern const char* kInvalidKey; | 65 extern const char* kInvalidKey; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 extern const char* kInvalidThemeTints; | 98 extern const char* kInvalidThemeTints; |
97 extern const char* kThemesCannotContainExtensions; | 99 extern const char* kThemesCannotContainExtensions; |
98 extern const char* kMissingFile; | 100 extern const char* kMissingFile; |
99 extern const char* kInvalidUpdateURL; | 101 extern const char* kInvalidUpdateURL; |
100 extern const char* kInvalidDefaultLocale; | 102 extern const char* kInvalidDefaultLocale; |
101 extern const char* kLocalesNoDefaultLocaleSpecified; | 103 extern const char* kLocalesNoDefaultLocaleSpecified; |
102 extern const char* kLocalesNoValidLocaleNamesListed; | 104 extern const char* kLocalesNoValidLocaleNamesListed; |
103 } // namespace extension_manifest_errors | 105 } // namespace extension_manifest_errors |
104 | 106 |
105 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 107 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |