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* kBrowserAction = L"browser_action"; | 10 const wchar_t* kBrowserAction = L"browser_action"; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 const char* kInvalidThemeImagesMissing = | 160 const char* kInvalidThemeImagesMissing = |
161 "Am image specified in the theme is missing."; | 161 "Am image specified in the theme is missing."; |
162 const char* kInvalidThemeColors = | 162 const char* kInvalidThemeColors = |
163 "Invalid value for theme colors - colors must be integers"; | 163 "Invalid value for theme colors - colors must be integers"; |
164 const char* kInvalidThemeTints = | 164 const char* kInvalidThemeTints = |
165 "Invalid value for theme images - tints must be decimal numbers."; | 165 "Invalid value for theme images - tints must be decimal numbers."; |
166 const char* kInvalidUpdateURL = | 166 const char* kInvalidUpdateURL = |
167 "Invalid value for update url: '[*]'."; | 167 "Invalid value for update url: '[*]'."; |
168 const char* kInvalidDefaultLocale = | 168 const char* kInvalidDefaultLocale = |
169 "Invalid value for default locale - locale name must be a string."; | 169 "Invalid value for default locale - locale name must be a string."; |
| 170 const char* kOneUISurfaceOnly = |
| 171 "An extension cannot have both a page action and a browser action."; |
170 const char* kThemesCannotContainExtensions = | 172 const char* kThemesCannotContainExtensions = |
171 "A theme cannot contain extensions code."; | 173 "A theme cannot contain extensions code."; |
172 const char* kLocalesNoDefaultLocaleSpecified = | 174 const char* kLocalesNoDefaultLocaleSpecified = |
173 "Localization used, but default_locale wasn't specified in the manifest."; | 175 "Localization used, but default_locale wasn't specified in the manifest."; |
174 const char* kLocalesNoValidLocaleNamesListed = | 176 const char* kLocalesNoValidLocaleNamesListed = |
175 "No valid locale name could be found in _locales directory."; | 177 "No valid locale name could be found in _locales directory."; |
176 } // namespace extension_manifest_errors | 178 } // namespace extension_manifest_errors |
OLD | NEW |