| 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* kBrowserAction; | 11 extern const wchar_t* kBrowserAction; |
| 12 extern const wchar_t* kChromeURLOverrides; | 12 extern const wchar_t* kChromeURLOverrides; |
| 13 extern const wchar_t* kContentScripts; | 13 extern const wchar_t* kContentScripts; |
| 14 extern const wchar_t* kConvertedFromUserScript; |
| 14 extern const wchar_t* kCss; | 15 extern const wchar_t* kCss; |
| 15 extern const wchar_t* kDefaultLocale; | 16 extern const wchar_t* kDefaultLocale; |
| 16 extern const wchar_t* kDescription; | 17 extern const wchar_t* kDescription; |
| 18 extern const wchar_t* kExcludeGlobs; |
| 17 extern const wchar_t* kIcons; | 19 extern const wchar_t* kIcons; |
| 20 extern const wchar_t* kIncludeGlobs; |
| 18 extern const wchar_t* kJs; | 21 extern const wchar_t* kJs; |
| 19 extern const wchar_t* kMatches; | 22 extern const wchar_t* kMatches; |
| 20 extern const wchar_t* kName; | 23 extern const wchar_t* kName; |
| 21 extern const wchar_t* kPageActionId; | 24 extern const wchar_t* kPageActionId; |
| 22 extern const wchar_t* kPageAction; | 25 extern const wchar_t* kPageAction; |
| 23 extern const wchar_t* kPageActions; | 26 extern const wchar_t* kPageActions; |
| 24 extern const wchar_t* kPageActionIcons; | 27 extern const wchar_t* kPageActionIcons; |
| 25 extern const wchar_t* kPageActionDefaultIcon; | 28 extern const wchar_t* kPageActionDefaultIcon; |
| 26 extern const wchar_t* kPageActionDefaultTitle; | 29 extern const wchar_t* kPageActionDefaultTitle; |
| 27 extern const wchar_t* kPageActionPopup; | 30 extern const wchar_t* kPageActionPopup; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 namespace extension_manifest_errors { | 65 namespace extension_manifest_errors { |
| 63 extern const char* kInvalidBrowserAction; | 66 extern const char* kInvalidBrowserAction; |
| 64 extern const char* kInvalidChromeURLOverrides; | 67 extern const char* kInvalidChromeURLOverrides; |
| 65 extern const char* kInvalidContentScript; | 68 extern const char* kInvalidContentScript; |
| 66 extern const char* kInvalidContentScriptsList; | 69 extern const char* kInvalidContentScriptsList; |
| 67 extern const char* kInvalidCss; | 70 extern const char* kInvalidCss; |
| 68 extern const char* kInvalidCssList; | 71 extern const char* kInvalidCssList; |
| 69 extern const char* kInvalidDescription; | 72 extern const char* kInvalidDescription; |
| 70 extern const char* kInvalidIcons; | 73 extern const char* kInvalidIcons; |
| 71 extern const char* kInvalidIconPath; | 74 extern const char* kInvalidIconPath; |
| 75 extern const char* kInvalidGlobList; |
| 76 extern const char* kInvalidGlob; |
| 72 extern const char* kInvalidJs; | 77 extern const char* kInvalidJs; |
| 73 extern const char* kInvalidJsList; | 78 extern const char* kInvalidJsList; |
| 74 extern const char* kInvalidKey; | 79 extern const char* kInvalidKey; |
| 75 extern const char* kInvalidManifest; | 80 extern const char* kInvalidManifest; |
| 76 extern const char* kInvalidMatchCount; | 81 extern const char* kInvalidMatchCount; |
| 77 extern const char* kInvalidMatch; | 82 extern const char* kInvalidMatch; |
| 78 extern const char* kInvalidMatches; | 83 extern const char* kInvalidMatches; |
| 79 extern const char* kInvalidName; | 84 extern const char* kInvalidName; |
| 80 extern const char* kInvalidPlugins; | 85 extern const char* kInvalidPlugins; |
| 81 extern const char* kInvalidPluginsPath; | 86 extern const char* kInvalidPluginsPath; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 extern const char* kManifestUnreadable; | 120 extern const char* kManifestUnreadable; |
| 116 extern const char* kMissingFile; | 121 extern const char* kMissingFile; |
| 117 extern const char* kInvalidUpdateURL; | 122 extern const char* kInvalidUpdateURL; |
| 118 extern const char* kInvalidDefaultLocale; | 123 extern const char* kInvalidDefaultLocale; |
| 119 extern const char* kLocalesNoDefaultLocaleSpecified; | 124 extern const char* kLocalesNoDefaultLocaleSpecified; |
| 120 extern const char* kLocalesNoValidLocaleNamesListed; | 125 extern const char* kLocalesNoValidLocaleNamesListed; |
| 121 extern const char* kInvalidOptionsPage; | 126 extern const char* kInvalidOptionsPage; |
| 122 } // namespace extension_manifest_errors | 127 } // namespace extension_manifest_errors |
| 123 | 128 |
| 124 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 129 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |