Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Side by Side Diff: chrome/common/extensions/extension_constants.cc

Issue 170015: This change enables Chrome to load locale information for the extension. It d... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698