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

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

Issue 243001: Implement Browser Actions extensions.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
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* kBrowserAction;
11 extern const wchar_t* kChromeURLOverrides; 12 extern const wchar_t* kChromeURLOverrides;
12 extern const wchar_t* kContentScripts; 13 extern const wchar_t* kContentScripts;
13 extern const wchar_t* kCss; 14 extern const wchar_t* kCss;
14 extern const wchar_t* kDefaultLocale; 15 extern const wchar_t* kDefaultLocale;
15 extern const wchar_t* kDescription; 16 extern const wchar_t* kDescription;
16 extern const wchar_t* kIcons; 17 extern const wchar_t* kIcons;
17 extern const wchar_t* kJs; 18 extern const wchar_t* kJs;
18 extern const wchar_t* kMatches; 19 extern const wchar_t* kMatches;
19 extern const wchar_t* kName; 20 extern const wchar_t* kName;
20 extern const wchar_t* kPageActionId; 21 extern const wchar_t* kPageActionId;
(...skipping 24 matching lines...) Expand all
45 // Some values expected in manifests. 46 // Some values expected in manifests.
46 namespace extension_manifest_values { 47 namespace extension_manifest_values {
47 extern const char* kRunAtDocumentStart; 48 extern const char* kRunAtDocumentStart;
48 extern const char* kRunAtDocumentEnd; 49 extern const char* kRunAtDocumentEnd;
49 extern const char* kPageActionTypeTab; 50 extern const char* kPageActionTypeTab;
50 extern const char* kPageActionTypePermanent; 51 extern const char* kPageActionTypePermanent;
51 } // namespace extension_manifest_values 52 } // namespace extension_manifest_values
52 53
53 // Error messages returned from Extension::InitFromValue(). 54 // Error messages returned from Extension::InitFromValue().
54 namespace extension_manifest_errors { 55 namespace extension_manifest_errors {
56 extern const char* kInvalidBrowserAction;
55 extern const char* kInvalidChromeURLOverrides; 57 extern const char* kInvalidChromeURLOverrides;
56 extern const char* kInvalidContentScript; 58 extern const char* kInvalidContentScript;
57 extern const char* kInvalidContentScriptsList; 59 extern const char* kInvalidContentScriptsList;
58 extern const char* kInvalidCss; 60 extern const char* kInvalidCss;
59 extern const char* kInvalidCssList; 61 extern const char* kInvalidCssList;
60 extern const char* kInvalidDescription; 62 extern const char* kInvalidDescription;
61 extern const char* kInvalidIcons; 63 extern const char* kInvalidIcons;
62 extern const char* kInvalidIconPath; 64 extern const char* kInvalidIconPath;
63 extern const char* kInvalidJs; 65 extern const char* kInvalidJs;
64 extern const char* kInvalidJsList; 66 extern const char* kInvalidJsList;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 extern const char* kInvalidThemeTints; 99 extern const char* kInvalidThemeTints;
98 extern const char* kThemesCannotContainExtensions; 100 extern const char* kThemesCannotContainExtensions;
99 extern const char* kMissingFile; 101 extern const char* kMissingFile;
100 extern const char* kInvalidUpdateURL; 102 extern const char* kInvalidUpdateURL;
101 extern const char* kInvalidDefaultLocale; 103 extern const char* kInvalidDefaultLocale;
102 extern const char* kLocalesNoDefaultLocaleSpecified; 104 extern const char* kLocalesNoDefaultLocaleSpecified;
103 extern const char* kLocalesNoValidLocaleNamesListed; 105 extern const char* kLocalesNoValidLocaleNamesListed;
104 } // namespace extension_manifest_errors 106 } // namespace extension_manifest_errors
105 107
106 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 108 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698