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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_ |
OLD | NEW |