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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « extensions/common/constants.h ('k') | extensions/common/manifest_handler_helpers.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "extensions/common/constants.h" 5 #include "extensions/common/constants.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 const char kExtensionScheme[] = "chrome-extension"; 9 const char kExtensionScheme[] = "chrome-extension";
10 const char kExtensionResourceScheme[] = "chrome-extension-resource"; 10 const char kExtensionResourceScheme[] = "chrome-extension-resource";
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 const char kRulesStoreName[] = "Extension Rules"; 54 const char kRulesStoreName[] = "Extension Rules";
55 const char kWebStoreAppId[] = "ahfgeienlihckogmohjhadlkjgocpleb"; 55 const char kWebStoreAppId[] = "ahfgeienlihckogmohjhadlkjgocpleb";
56 56
57 const char kMimeTypeJpeg[] = "image/jpeg"; 57 const char kMimeTypeJpeg[] = "image/jpeg";
58 const char kMimeTypePng[] = "image/png"; 58 const char kMimeTypePng[] = "image/png";
59 59
60 } // namespace extensions 60 } // namespace extensions
61 61
62 namespace extension_misc { 62 namespace extension_misc {
63 63
64 const int kExtensionIconSizes[] = {EXTENSION_ICON_GIGANTOR, // 512
65 EXTENSION_ICON_EXTRA_LARGE, // 256
66 EXTENSION_ICON_LARGE, // 128
67 EXTENSION_ICON_MEDIUM, // 48
68 EXTENSION_ICON_SMALL, // 32
69 EXTENSION_ICON_SMALLISH, // 24
70 EXTENSION_ICON_BITTY, // 16
71 // Additional 2x resources to load.
72 2 * EXTENSION_ICON_MEDIUM, // 96
73 2 * EXTENSION_ICON_SMALL // 64
74 };
75
76 const size_t kNumExtensionIconSizes = arraysize(kExtensionIconSizes);
77
78 const char kPdfExtensionId[] = "mhjfbmdgcfjbbpaeojofohoefgiehjai"; 64 const char kPdfExtensionId[] = "mhjfbmdgcfjbbpaeojofohoefgiehjai";
79 const char kQuickOfficeComponentExtensionId[] = 65 const char kQuickOfficeComponentExtensionId[] =
80 "bpmcpldpdmajfigpchkicefoigmkfalc"; 66 "bpmcpldpdmajfigpchkicefoigmkfalc";
81 const char kQuickOfficeInternalExtensionId[] = 67 const char kQuickOfficeInternalExtensionId[] =
82 "ehibbfinohgbchlgdbfpikodjaojhccn"; 68 "ehibbfinohgbchlgdbfpikodjaojhccn";
83 const char kQuickOfficeExtensionId[] = "gbkeegbaiigmenfmjfclcdgdpimamgkj"; 69 const char kQuickOfficeExtensionId[] = "gbkeegbaiigmenfmjfclcdgdpimamgkj";
84 const char kMimeHandlerPrivateTestExtensionId[] = 70 const char kMimeHandlerPrivateTestExtensionId[] =
85 "oickdpebdnfbgkcaoklfcdhjniefkcji"; 71 "oickdpebdnfbgkcaoklfcdhjniefkcji";
86 72
87 const char kProdHangoutsExtensionId[] = "nckgahadagoaajjgafhacjanaoiihapd"; 73 const char kProdHangoutsExtensionId[] = "nckgahadagoaajjgafhacjanaoiihapd";
88 const char* const kHangoutsExtensionIds[6] = { 74 const char* const kHangoutsExtensionIds[6] = {
89 kProdHangoutsExtensionId, 75 kProdHangoutsExtensionId,
90 "ljclpkphhpbpinifbeabbhlfddcpfdde", // Debug. 76 "ljclpkphhpbpinifbeabbhlfddcpfdde", // Debug.
91 "ppleadejekpmccmnpjdimmlfljlkdfej", // Alpha. 77 "ppleadejekpmccmnpjdimmlfljlkdfej", // Alpha.
92 "eggnbpckecmjlblplehfpjjdhhidfdoj", // Beta. 78 "eggnbpckecmjlblplehfpjjdhhidfdoj", // Beta.
93 "jfjjdfefebklmdbmenmlehlopoocnoeh", // Packaged App Debug. 79 "jfjjdfefebklmdbmenmlehlopoocnoeh", // Packaged App Debug.
94 "knipolnnllmklapflnccelgolnpehhpl" // Packaged App Prod. 80 "knipolnnllmklapflnccelgolnpehhpl" // Packaged App Prod.
95 // Keep in sync with _api_features.json and _manifest_features.json. 81 // Keep in sync with _api_features.json and _manifest_features.json.
96 }; 82 };
97 83
98 } // namespace extension_misc 84 } // namespace extension_misc
OLDNEW
« 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