OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |