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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 | 248 |
249 // NOTE: If you change this list, you should also change kExtensionIconSizes | 249 // NOTE: If you change this list, you should also change kExtensionIconSizes |
250 // in cc file. | 250 // in cc file. |
251 enum ExtensionIcons { | 251 enum ExtensionIcons { |
252 EXTENSION_ICON_GIGANTOR = 512, | 252 EXTENSION_ICON_GIGANTOR = 512, |
253 EXTENSION_ICON_EXTRA_LARGE = 256, | 253 EXTENSION_ICON_EXTRA_LARGE = 256, |
254 EXTENSION_ICON_LARGE = 128, | 254 EXTENSION_ICON_LARGE = 128, |
255 EXTENSION_ICON_MEDIUM = 48, | 255 EXTENSION_ICON_MEDIUM = 48, |
256 EXTENSION_ICON_SMALL = 32, | 256 EXTENSION_ICON_SMALL = 32, |
257 EXTENSION_ICON_SMALLISH = 24, | 257 EXTENSION_ICON_SMALLISH = 24, |
| 258 EXTENSION_ICON_ACTION = 19, |
258 EXTENSION_ICON_BITTY = 16, | 259 EXTENSION_ICON_BITTY = 16, |
259 EXTENSION_ICON_INVALID = 0, | 260 EXTENSION_ICON_INVALID = 0, |
260 }; | 261 }; |
261 | 262 |
262 // List of sizes for extension icons that can be defined in the manifest. | 263 // List of sizes for extension icons that can be defined in the manifest. |
263 extern const int kExtensionIconSizes[]; | 264 extern const int kExtensionIconSizes[]; |
264 extern const size_t kNumExtensionIconSizes; | 265 extern const size_t kNumExtensionIconSizes; |
265 | 266 |
| 267 // List of sizes for extension icons that can be defined in the manifest. |
| 268 extern const int kExtensionActionIconSizes[]; |
| 269 extern const size_t kNumExtensionActionIconSizes; |
| 270 |
| 271 // List of sizes for extension icons that can be defined in the manifest. |
| 272 extern const int kScriptBadgeIconSizes[]; |
| 273 extern const size_t kNumScriptBadgeIconSizes; |
| 274 |
266 } // extension_misc | 275 } // extension_misc |
267 | 276 |
268 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 277 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |