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

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: cocoa 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 EXTENSION_ICON_LARGE, // 128 152 EXTENSION_ICON_LARGE, // 128
153 EXTENSION_ICON_MEDIUM, // 48 153 EXTENSION_ICON_MEDIUM, // 48
154 EXTENSION_ICON_SMALL, // 32 154 EXTENSION_ICON_SMALL, // 32
155 EXTENSION_ICON_SMALLISH, // 24 155 EXTENSION_ICON_SMALLISH, // 24
156 EXTENSION_ICON_BITTY // 16 156 EXTENSION_ICON_BITTY // 16
157 }; 157 };
158 158
159 const size_t kNumExtensionIconSizes = 159 const size_t kNumExtensionIconSizes =
160 arraysize(kExtensionIconSizes); 160 arraysize(kExtensionIconSizes);
161 161
162 const int kExtensionActionIconSizes[] = {
163 EXTENSION_ICON_ACTION, // 19,
164 2 * EXTENSION_ICON_ACTION // 38
165 };
166
167 const size_t kNumExtensionActionIconSizes =
168 arraysize(kExtensionActionIconSizes);
169
170 const int kScriptBadgeIconSizes[] = {
171 EXTENSION_ICON_BITTY, // 16
172 2 * EXTENSION_ICON_BITTY // 32
173 };
174
175 const size_t kNumScriptBadgeIconSizes =
176 arraysize(kScriptBadgeIconSizes);
177
162 } // namespace extension_misc 178 } // namespace extension_misc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698