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

Unified Diff: chrome/common/extensions/extension_constants.cc

Issue 10905005: Change browser/page action default icon defined in manifest to support hidpi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable unittest on android Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_constants.cc
diff --git a/chrome/common/extensions/extension_constants.cc b/chrome/common/extensions/extension_constants.cc
index b96ba511863dbbe499539f52cfa1271fbab76e9a..bb54bf85a522fbec03705e44901f3d119cde6fcd 100644
--- a/chrome/common/extensions/extension_constants.cc
+++ b/chrome/common/extensions/extension_constants.cc
@@ -164,4 +164,20 @@ const int kExtensionIconSizes[] = {
const size_t kNumExtensionIconSizes =
arraysize(kExtensionIconSizes);
+const int kExtensionActionIconSizes[] = {
+ EXTENSION_ICON_ACTION, // 19,
+ 2 * EXTENSION_ICON_ACTION // 38
+};
+
+const size_t kNumExtensionActionIconSizes =
+ arraysize(kExtensionActionIconSizes);
+
+const int kScriptBadgeIconSizes[] = {
+ EXTENSION_ICON_BITTY, // 16
+ 2 * EXTENSION_ICON_BITTY // 32
+};
+
+const size_t kNumScriptBadgeIconSizes =
+ arraysize(kScriptBadgeIconSizes);
+
} // namespace extension_misc
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698