| 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* kAllFrames; | 10 extern const wchar_t* kAllFrames; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 extern const wchar_t* kToolstrips; | 57 extern const wchar_t* kToolstrips; |
| 58 extern const wchar_t* kType; | 58 extern const wchar_t* kType; |
| 59 extern const wchar_t* kVersion; | 59 extern const wchar_t* kVersion; |
| 60 extern const wchar_t* kUpdateURL; | 60 extern const wchar_t* kUpdateURL; |
| 61 extern const wchar_t* kOptionsPage; | 61 extern const wchar_t* kOptionsPage; |
| 62 extern const wchar_t* kWebContent; | 62 extern const wchar_t* kWebContent; |
| 63 extern const wchar_t* kWebContentEnabled; | 63 extern const wchar_t* kWebContentEnabled; |
| 64 extern const wchar_t* kWebLaunchUrl; | 64 extern const wchar_t* kWebLaunchUrl; |
| 65 extern const wchar_t* kWebOrigin; | 65 extern const wchar_t* kWebOrigin; |
| 66 extern const wchar_t* kWebPaths; | 66 extern const wchar_t* kWebPaths; |
| 67 extern const wchar_t* kOmniboxKeyword; |
| 67 } // namespace extension_manifest_keys | 68 } // namespace extension_manifest_keys |
| 68 | 69 |
| 69 // Some values expected in manifests. | 70 // Some values expected in manifests. |
| 70 namespace extension_manifest_values { | 71 namespace extension_manifest_values { |
| 71 extern const char* kRunAtDocumentStart; | 72 extern const char* kRunAtDocumentStart; |
| 72 extern const char* kRunAtDocumentEnd; | 73 extern const char* kRunAtDocumentEnd; |
| 73 extern const char* kRunAtDocumentIdle; | 74 extern const char* kRunAtDocumentIdle; |
| 74 extern const char* kPageActionTypeTab; | 75 extern const char* kPageActionTypeTab; |
| 75 extern const char* kPageActionTypePermanent; | 76 extern const char* kPageActionTypePermanent; |
| 76 extern const char* kLaunchContainerPanel; | 77 extern const char* kLaunchContainerPanel; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 extern const char* kLocalesNoDefaultLocaleSpecified; | 155 extern const char* kLocalesNoDefaultLocaleSpecified; |
| 155 extern const char* kLocalesNoDefaultMessages; | 156 extern const char* kLocalesNoDefaultMessages; |
| 156 extern const char* kLocalesNoValidLocaleNamesListed; | 157 extern const char* kLocalesNoValidLocaleNamesListed; |
| 157 extern const char* kLocalesTreeMissing; | 158 extern const char* kLocalesTreeMissing; |
| 158 extern const char* kLocalesMessagesFileMissing; | 159 extern const char* kLocalesMessagesFileMissing; |
| 159 extern const char* kInvalidOptionsPage; | 160 extern const char* kInvalidOptionsPage; |
| 160 extern const char* kReservedMessageFound; | 161 extern const char* kReservedMessageFound; |
| 161 extern const char* kCannotAccessPage; | 162 extern const char* kCannotAccessPage; |
| 162 extern const char* kCannotScriptGallery; | 163 extern const char* kCannotScriptGallery; |
| 163 extern const char* kWebContentMustBeEnabled; | 164 extern const char* kWebContentMustBeEnabled; |
| 165 extern const char* kInvalidOmniboxKeyword; |
| 166 extern const char* kOmniboxExperimental; |
| 164 } // namespace extension_manifest_errors | 167 } // namespace extension_manifest_errors |
| 165 | 168 |
| 166 namespace extension_urls { | 169 namespace extension_urls { |
| 167 // The greatest common prefixes of the main extensions gallery's browse and | 170 // The greatest common prefixes of the main extensions gallery's browse and |
| 168 // download URLs. | 171 // download URLs. |
| 169 extern const char* kGalleryBrowsePrefix; | 172 extern const char* kGalleryBrowsePrefix; |
| 170 extern const char* kGalleryDownloadPrefix; | 173 extern const char* kGalleryDownloadPrefix; |
| 171 | 174 |
| 172 // Same thing for the "minigallery". The minigallery is the temporary static | 175 // Same thing for the "minigallery". The minigallery is the temporary static |
| 173 // themes gallery that we put up when we launched themes. | 176 // themes gallery that we put up when we launched themes. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 186 // The file to write our decoded message catalogs to, relative to the | 189 // The file to write our decoded message catalogs to, relative to the |
| 187 // extension_path. | 190 // extension_path. |
| 188 extern const char* kDecodedMessageCatalogsFilename; | 191 extern const char* kDecodedMessageCatalogsFilename; |
| 189 } | 192 } |
| 190 | 193 |
| 191 namespace extension_misc { | 194 namespace extension_misc { |
| 192 const int kUnknownWindowId = -1; | 195 const int kUnknownWindowId = -1; |
| 193 } // extension_misc | 196 } // extension_misc |
| 194 | 197 |
| 195 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 198 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |