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

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: 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 #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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 256
257 // NOTE: If you change this list, you should also change kExtensionIconSizes 257 // NOTE: If you change this list, you should also change kExtensionIconSizes
258 // in cc file. 258 // in cc file.
259 enum ExtensionIcons { 259 enum ExtensionIcons {
260 EXTENSION_ICON_GIGANTOR = 512, 260 EXTENSION_ICON_GIGANTOR = 512,
261 EXTENSION_ICON_EXTRA_LARGE = 256, 261 EXTENSION_ICON_EXTRA_LARGE = 256,
262 EXTENSION_ICON_LARGE = 128, 262 EXTENSION_ICON_LARGE = 128,
263 EXTENSION_ICON_MEDIUM = 48, 263 EXTENSION_ICON_MEDIUM = 48,
264 EXTENSION_ICON_SMALL = 32, 264 EXTENSION_ICON_SMALL = 32,
265 EXTENSION_ICON_SMALLISH = 24, 265 EXTENSION_ICON_SMALLISH = 24,
266 EXTENSION_ICON_ACTION = 19,
266 EXTENSION_ICON_BITTY = 16, 267 EXTENSION_ICON_BITTY = 16,
267 EXTENSION_ICON_INVALID = 0, 268 EXTENSION_ICON_INVALID = 0,
268 }; 269 };
269 270
270 // List of sizes for extension icons that can be defined in the manifest. 271 // List of sizes for extension icons that can be defined in the manifest.
271 extern const int kExtensionIconSizes[]; 272 extern const int kExtensionIconSizes[];
272 extern const size_t kNumExtensionIconSizes; 273 extern const size_t kNumExtensionIconSizes;
273 274
275 // List of sizes for extension icons that can be defined in the manifest.
276 extern const int kExtensionActionIconSizes[];
277 extern const size_t kNumExtensionActionIconSizes;
278
279 // List of sizes for extension icons that can be defined in the manifest.
280 extern const int kScriptBadgeIconSizes[];
281 extern const size_t kNumScriptBadgeIconSizes;
282
274 } // extension_misc 283 } // extension_misc
275 284
276 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 285 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_action_unittest.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698