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

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

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 #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* kContentScripts; 11 extern const wchar_t* kContentScripts;
12 extern const wchar_t* kCss; 12 extern const wchar_t* kCss;
13 extern const wchar_t* kDefaultLocale;
13 extern const wchar_t* kDescription; 14 extern const wchar_t* kDescription;
14 extern const wchar_t* kIcons; 15 extern const wchar_t* kIcons;
15 extern const wchar_t* kJs; 16 extern const wchar_t* kJs;
16 extern const wchar_t* kMatches; 17 extern const wchar_t* kMatches;
17 extern const wchar_t* kName; 18 extern const wchar_t* kName;
18 extern const wchar_t* kPageActionId; 19 extern const wchar_t* kPageActionId;
19 extern const wchar_t* kPageActions; 20 extern const wchar_t* kPageActions;
20 extern const wchar_t* kPageActionIcons; 21 extern const wchar_t* kPageActionIcons;
21 extern const wchar_t* kPermissions; 22 extern const wchar_t* kPermissions;
22 extern const wchar_t* kPlugins; 23 extern const wchar_t* kPlugins;
23 extern const wchar_t* kPluginsPath; 24 extern const wchar_t* kPluginsPath;
24 extern const wchar_t* kPluginsPublic; 25 extern const wchar_t* kPluginsPublic;
25 extern const wchar_t* kPublicKey; 26 extern const wchar_t* kPublicKey;
26 extern const wchar_t* kSignature; 27 extern const wchar_t* kSignature;
27 extern const wchar_t* kRunAt; 28 extern const wchar_t* kRunAt;
28 extern const wchar_t* kTheme; 29 extern const wchar_t* kTheme;
29 extern const wchar_t* kThemeImages; 30 extern const wchar_t* kThemeImages;
30 extern const wchar_t* kThemeColors; 31 extern const wchar_t* kThemeColors;
31 extern const wchar_t* kThemeTints; 32 extern const wchar_t* kThemeTints;
32 extern const wchar_t* kThemeDisplayProperties; 33 extern const wchar_t* kThemeDisplayProperties;
33 extern const wchar_t* kToolstripMoleHeight; 34 extern const wchar_t* kToolstripMoleHeight;
34 extern const wchar_t* kToolstripMolePath; 35 extern const wchar_t* kToolstripMolePath;
35 extern const wchar_t* kToolstripPath; 36 extern const wchar_t* kToolstripPath;
36 extern const wchar_t* kToolstrips; 37 extern const wchar_t* kToolstrips;
37 extern const wchar_t* kType; 38 extern const wchar_t* kType;
38 extern const wchar_t* kVersion; 39 extern const wchar_t* kVersion;
39 extern const wchar_t* kUpdateURL; 40 extern const wchar_t* kUpdateURL;
40 } // namespace extension_manifest_keys 41 } // namespace extension_manifest_keys
41 42
42 // Some values expected in manifests. 43 // Some values expected in manifests.
43 namespace extension_manifest_values { 44 namespace extension_manifest_values {
44 extern const char* kRunAtDocumentStart; 45 extern const char* kRunAtDocumentStart;
45 extern const char* kRunAtDocumentEnd; 46 extern const char* kRunAtDocumentEnd;
46 extern const char* kPageActionTypeTab; 47 extern const char* kPageActionTypeTab;
47 extern const char* kPageActionTypePermanent; 48 extern const char* kPageActionTypePermanent;
48 } // namespace extension_manifest_values 49 } // namespace extension_manifest_values
49 50
50 // Error messages returned from Extension::InitFromValue(). 51 // Error messages returned from Extension::InitFromValue().
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 extern const char* kInvalidPermissionScheme; 87 extern const char* kInvalidPermissionScheme;
87 extern const char* kInvalidZipHash; 88 extern const char* kInvalidZipHash;
88 extern const char* kInvalidTheme; 89 extern const char* kInvalidTheme;
89 extern const char* kInvalidThemeImagesMissing; 90 extern const char* kInvalidThemeImagesMissing;
90 extern const char* kInvalidThemeImages; 91 extern const char* kInvalidThemeImages;
91 extern const char* kInvalidThemeColors; 92 extern const char* kInvalidThemeColors;
92 extern const char* kInvalidThemeTints; 93 extern const char* kInvalidThemeTints;
93 extern const char* kThemesCannotContainExtensions; 94 extern const char* kThemesCannotContainExtensions;
94 extern const char* kMissingFile; 95 extern const char* kMissingFile;
95 extern const char* kInvalidUpdateURL; 96 extern const char* kInvalidUpdateURL;
97 extern const char* kInvalidDefaultLocale;
98 extern const char* kLocalesNoDefaultLocaleSpecified;
99 extern const char* kLocalesNoValidLocaleNamesListed;
96 } // namespace extension_manifest_errors 100 } // namespace extension_manifest_errors
97 101
98 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 102 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698