| 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 #include "chrome/common/extensions/extension_constants.h" | 5 #include "chrome/common/extensions/extension_constants.h" |
| 6 | 6 |
| 7 namespace extension_manifest_keys { | 7 namespace extension_manifest_keys { |
| 8 | 8 |
| 9 const wchar_t* kBackground = L"background_page"; | 9 const wchar_t* kBackground = L"background_page"; |
| 10 const wchar_t* kContentScripts = L"content_scripts"; | 10 const wchar_t* kContentScripts = L"content_scripts"; |
| 11 const wchar_t* kCss = L"css"; | 11 const wchar_t* kCss = L"css"; |
| 12 const wchar_t* kDefaultLocale = L"default_locale"; |
| 12 const wchar_t* kDescription = L"description"; | 13 const wchar_t* kDescription = L"description"; |
| 13 const wchar_t* kIcons = L"icons"; | 14 const wchar_t* kIcons = L"icons"; |
| 14 const wchar_t* kJs = L"js"; | 15 const wchar_t* kJs = L"js"; |
| 15 const wchar_t* kMatches = L"matches"; | 16 const wchar_t* kMatches = L"matches"; |
| 16 const wchar_t* kName = L"name"; | 17 const wchar_t* kName = L"name"; |
| 17 const wchar_t* kPageActionId = L"id"; | 18 const wchar_t* kPageActionId = L"id"; |
| 18 const wchar_t* kPageActions = L"page_actions"; | 19 const wchar_t* kPageActions = L"page_actions"; |
| 19 const wchar_t* kPageActionIcons = L"icons"; | 20 const wchar_t* kPageActionIcons = L"icons"; |
| 20 const wchar_t* kPermissions = L"permissions"; | 21 const wchar_t* kPermissions = L"permissions"; |
| 21 const wchar_t* kPlugins = L"plugins"; | 22 const wchar_t* kPlugins = L"plugins"; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 const char* kInvalidThemeImages = | 131 const char* kInvalidThemeImages = |
| 131 "Invalid value for theme images - images must be strings."; | 132 "Invalid value for theme images - images must be strings."; |
| 132 const char* kInvalidThemeImagesMissing = | 133 const char* kInvalidThemeImagesMissing = |
| 133 "Am image specified in the theme is missing."; | 134 "Am image specified in the theme is missing."; |
| 134 const char* kInvalidThemeColors = | 135 const char* kInvalidThemeColors = |
| 135 "Invalid value for theme colors - colors must be integers"; | 136 "Invalid value for theme colors - colors must be integers"; |
| 136 const char* kInvalidThemeTints = | 137 const char* kInvalidThemeTints = |
| 137 "Invalid value for theme images - tints must be decimal numbers."; | 138 "Invalid value for theme images - tints must be decimal numbers."; |
| 138 const char* kInvalidUpdateURL = | 139 const char* kInvalidUpdateURL = |
| 139 "Invalid value for update url: '[*]'."; | 140 "Invalid value for update url: '[*]'."; |
| 141 const char* kInvalidDefaultLocale = |
| 142 "Invalid value for default locale - locale name must be a string."; |
| 140 const char* kThemesCannotContainExtensions = | 143 const char* kThemesCannotContainExtensions = |
| 141 "A theme cannot contain extensions code."; | 144 "A theme cannot contain extensions code."; |
| 145 const char* kLocalesNoDefaultLocaleSpecified = |
| 146 "Localization used, but default_locale wasn't specified in the manifest."; |
| 147 const char* kLocalesNoValidLocaleNamesListed = |
| 148 "No valid locale name could be found in _locales directory."; |
| 142 } // namespace extension_manifest_errors | 149 } // namespace extension_manifest_errors |
| OLD | NEW |