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

Side by Side Diff: chrome/common/extensions/extension_constants.h

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: missing test for icon factory; need to update comments in browser/ui/ 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 254
255 // NOTE: If you change this list, you should also change kExtensionIconSizes 255 // NOTE: If you change this list, you should also change kExtensionIconSizes
256 // in cc file. 256 // in cc file.
257 enum ExtensionIcons { 257 enum ExtensionIcons {
258 EXTENSION_ICON_GIGANTOR = 512, 258 EXTENSION_ICON_GIGANTOR = 512,
259 EXTENSION_ICON_EXTRA_LARGE = 256, 259 EXTENSION_ICON_EXTRA_LARGE = 256,
260 EXTENSION_ICON_LARGE = 128, 260 EXTENSION_ICON_LARGE = 128,
261 EXTENSION_ICON_MEDIUM = 48, 261 EXTENSION_ICON_MEDIUM = 48,
262 EXTENSION_ICON_SMALL = 32, 262 EXTENSION_ICON_SMALL = 32,
263 EXTENSION_ICON_SMALLISH = 24, 263 EXTENSION_ICON_SMALLISH = 24,
264 EXTENSION_ICON_ACTION = 19,
264 EXTENSION_ICON_BITTY = 16, 265 EXTENSION_ICON_BITTY = 16,
265 EXTENSION_ICON_INVALID = 0, 266 EXTENSION_ICON_INVALID = 0,
266 }; 267 };
267 268
268 // List of sizes for extension icons that can be defined in the manifest. 269 // List of sizes for extension icons that can be defined in the manifest.
269 extern const int kExtensionIconSizes[]; 270 extern const int kExtensionIconSizes[];
270 extern const size_t kNumExtensionIconSizes; 271 extern const size_t kNumExtensionIconSizes;
271 272
273 // List of sizes for extension icons that can be defined in the manifest.
274 extern const int kExtensionActionIconSizes[];
275 extern const size_t kNumExtensionActionIconSizes;
276
277 // List of sizes for extension icons that can be defined in the manifest.
278 extern const int kScriptBadgeIconSizes[];
279 extern const size_t kNumScriptBadgeIconSizes;
280
272 } // extension_misc 281 } // extension_misc
273 282
274 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 283 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698