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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 extern const char kAppStateRunning[]; | 237 extern const char kAppStateRunning[]; |
238 extern const char kAppStateCannotRun[]; | 238 extern const char kAppStateCannotRun[]; |
239 extern const char kAppStateReadyToRun[]; | 239 extern const char kAppStateReadyToRun[]; |
240 | 240 |
241 // The path part of the file system url used for media file systems. | 241 // The path part of the file system url used for media file systems. |
242 extern const char kMediaFileSystemPathPart[]; | 242 extern const char kMediaFileSystemPathPart[]; |
243 | 243 |
244 // Error indicating that the app notifications API is not accessible by split | 244 // Error indicating that the app notifications API is not accessible by split |
245 // mode extensions in incognito windows. | 245 // mode extensions in incognito windows. |
246 extern const char kAppNotificationsIncognitoError[]; | 246 extern const char kAppNotificationsIncognitoError[]; |
| 247 |
| 248 // NOTE: If you change this list, you should also change kExtensionIconSizes |
| 249 // in cc file. |
| 250 enum ExtensionIcons { |
| 251 EXTENSION_ICON_GIGANTOR = 512, |
| 252 EXTENSION_ICON_EXTRA_LARGE = 256, |
| 253 EXTENSION_ICON_LARGE = 128, |
| 254 EXTENSION_ICON_MEDIUM = 48, |
| 255 EXTENSION_ICON_SMALL = 32, |
| 256 EXTENSION_ICON_SMALLISH = 24, |
| 257 EXTENSION_ICON_BITTY = 16, |
| 258 EXTENSION_ICON_INVALID = 0, |
| 259 }; |
| 260 |
| 261 // List of sizes for extension icons that can be defined in the manifest. |
| 262 extern const int kExtensionIconSizes[]; |
| 263 extern const size_t kNumExtensionIconSizes; |
| 264 |
247 } // extension_misc | 265 } // extension_misc |
248 | 266 |
249 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 267 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |