summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_constants.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 07:51:06 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 07:51:06 +0000
commitc3e3def74b9eec14e63b08649204b6c721c79d3c (patch)
tree8150e6f89fa6d6da2ebade890b083c08e817fb40 /chrome/common/extensions/extension_constants.cc
parent6b7a13eef79fffe763d86ebbee9d5fc4839fc86d (diff)
downloadchromium_src-c3e3def74b9eec14e63b08649204b6c721c79d3c.zip
chromium_src-c3e3def74b9eec14e63b08649204b6c721c79d3c.tar.gz
chromium_src-c3e3def74b9eec14e63b08649204b6c721c79d3c.tar.bz2
A small start: add icons to the extension manifest.
Review URL: http://codereview.chromium.org/155662 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20941 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_constants.cc')
-rw-r--r--chrome/common/extensions/extension_constants.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/common/extensions/extension_constants.cc b/chrome/common/extensions/extension_constants.cc
index 87ac2c7..373e913 100644
--- a/chrome/common/extensions/extension_constants.cc
+++ b/chrome/common/extensions/extension_constants.cc
@@ -10,13 +10,13 @@ const wchar_t* kBackground = L"background_page";
const wchar_t* kContentScripts = L"content_scripts";
const wchar_t* kCss = L"css";
const wchar_t* kDescription = L"description";
-const wchar_t* kIconPath = L"icon";
-const wchar_t* kIconPaths = L"icons";
+const wchar_t* kIcons = L"icons";
const wchar_t* kJs = L"js";
const wchar_t* kMatches = L"matches";
const wchar_t* kName = L"name";
const wchar_t* kPageActionId = L"id";
const wchar_t* kPageActions = L"page_actions";
+const wchar_t* kPageActionIcons = L"icons";
const wchar_t* kPermissions = L"permissions";
const wchar_t* kPlugins = L"plugins";
const wchar_t* kPluginsPath = L"path";
@@ -58,6 +58,10 @@ const char* kInvalidCssList =
"Required value 'content_scripts[*].css is invalid.";
const char* kInvalidDescription =
"Invalid value for 'description'.";
+const char* kInvalidIcons =
+ "Invalid value for 'icons'.";
+const char* kInvalidIconPath =
+ "Invalid value for 'icons[\"*\"]'.";
const char* kInvalidJs =
"Invalid value for 'content_scripts[*].js[*]'.";
const char* kInvalidJsList =