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

Side by Side 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: icon_factory: NULL check on the observer 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 unified diff | Download patch | Annotate | Revision Log
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 "chrome/common/extensions/extension_constants.h" 5 #include "chrome/common/extensions/extension_constants.h"
6 #include "chrome/common/extensions/extension_manifest_constants.h" 6 #include "chrome/common/extensions/extension_manifest_constants.h"
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 EXTENSION_ICON_LARGE, // 128 156 EXTENSION_ICON_LARGE, // 128
157 EXTENSION_ICON_MEDIUM, // 48 157 EXTENSION_ICON_MEDIUM, // 48
158 EXTENSION_ICON_SMALL, // 32 158 EXTENSION_ICON_SMALL, // 32
159 EXTENSION_ICON_SMALLISH, // 24 159 EXTENSION_ICON_SMALLISH, // 24
160 EXTENSION_ICON_BITTY // 16 160 EXTENSION_ICON_BITTY // 16
161 }; 161 };
162 162
163 const size_t kNumExtensionIconSizes = 163 const size_t kNumExtensionIconSizes =
164 arraysize(kExtensionIconSizes); 164 arraysize(kExtensionIconSizes);
165 165
166 const int kExtensionActionIconSizes[] = {
167 EXTENSION_ICON_ACTION, // 19,
168 2 * EXTENSION_ICON_ACTION // 38
169 };
170
171 const size_t kNumExtensionActionIconSizes =
172 arraysize(kExtensionActionIconSizes);
173
174 const int kScriptBadgeIconSizes[] = {
175 EXTENSION_ICON_BITTY, // 16
176 2 * EXTENSION_ICON_BITTY // 32
177 };
178
179 const size_t kNumScriptBadgeIconSizes =
180 arraysize(kScriptBadgeIconSizes);
181
166 } // namespace extension_misc 182 } // namespace extension_misc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698