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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 INSTALL_CAUSE_EXTERNAL_FILE, | 230 INSTALL_CAUSE_EXTERNAL_FILE, |
231 INSTALL_CAUSE_AUTOMATION, | 231 INSTALL_CAUSE_AUTOMATION, |
232 NUM_INSTALL_CAUSES | 232 NUM_INSTALL_CAUSES |
233 }; | 233 }; |
234 | 234 |
235 enum UnloadedExtensionReason { | 235 enum UnloadedExtensionReason { |
236 UNLOAD_REASON_DISABLE, // Extension is being disabled. | 236 UNLOAD_REASON_DISABLE, // Extension is being disabled. |
237 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. | 237 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. |
238 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. | 238 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. |
239 UNLOAD_REASON_TERMINATE, // Extension has terminated. | 239 UNLOAD_REASON_TERMINATE, // Extension has terminated. |
| 240 UNLOAD_REASON_BLACKLIST, // Extension has been blacklisted. |
240 }; | 241 }; |
241 | 242 |
242 // The states that an app can be in, as reported by chrome.app.installState | 243 // The states that an app can be in, as reported by chrome.app.installState |
243 // and chrome.app.runningState. | 244 // and chrome.app.runningState. |
244 extern const char kAppStateNotInstalled[]; | 245 extern const char kAppStateNotInstalled[]; |
245 extern const char kAppStateInstalled[]; | 246 extern const char kAppStateInstalled[]; |
246 extern const char kAppStateDisabled[]; | 247 extern const char kAppStateDisabled[]; |
247 extern const char kAppStateRunning[]; | 248 extern const char kAppStateRunning[]; |
248 extern const char kAppStateCannotRun[]; | 249 extern const char kAppStateCannotRun[]; |
249 extern const char kAppStateReadyToRun[]; | 250 extern const char kAppStateReadyToRun[]; |
(...skipping 27 matching lines...) Expand all Loading... |
277 extern const int kExtensionActionIconSizes[]; | 278 extern const int kExtensionActionIconSizes[]; |
278 extern const size_t kNumExtensionActionIconSizes; | 279 extern const size_t kNumExtensionActionIconSizes; |
279 | 280 |
280 // List of sizes for extension icons that can be defined in the manifest. | 281 // List of sizes for extension icons that can be defined in the manifest. |
281 extern const int kScriptBadgeIconSizes[]; | 282 extern const int kScriptBadgeIconSizes[]; |
282 extern const size_t kNumScriptBadgeIconSizes; | 283 extern const size_t kNumScriptBadgeIconSizes; |
283 | 284 |
284 } // extension_misc | 285 } // extension_misc |
285 | 286 |
286 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 287 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |