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

Unified Diff: extensions/common/constants.cc

Issue 1504453002: Allow arbitrary sizes for extension icons (and bookmark app icons) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test updated Created 5 years 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 | « extensions/common/constants.h ('k') | extensions/common/manifest_handler_helpers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/constants.cc
diff --git a/extensions/common/constants.cc b/extensions/common/constants.cc
index 8d079b2e5a864afdf7683c60f82be1d5f236fd64..cfd00c117e3d122b47446a2ee346370dad802811 100644
--- a/extensions/common/constants.cc
+++ b/extensions/common/constants.cc
@@ -61,20 +61,6 @@ const char kMimeTypePng[] = "image/png";
namespace extension_misc {
-const int kExtensionIconSizes[] = {EXTENSION_ICON_GIGANTOR, // 512
- EXTENSION_ICON_EXTRA_LARGE, // 256
- EXTENSION_ICON_LARGE, // 128
- EXTENSION_ICON_MEDIUM, // 48
- EXTENSION_ICON_SMALL, // 32
- EXTENSION_ICON_SMALLISH, // 24
- EXTENSION_ICON_BITTY, // 16
- // Additional 2x resources to load.
- 2 * EXTENSION_ICON_MEDIUM, // 96
- 2 * EXTENSION_ICON_SMALL // 64
-};
-
-const size_t kNumExtensionIconSizes = arraysize(kExtensionIconSizes);
-
const char kPdfExtensionId[] = "mhjfbmdgcfjbbpaeojofohoefgiehjai";
const char kQuickOfficeComponentExtensionId[] =
"bpmcpldpdmajfigpchkicefoigmkfalc";
« no previous file with comments | « extensions/common/constants.h ('k') | extensions/common/manifest_handler_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698