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

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