| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED, | 471 NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED, |
| 472 | 472 |
| 473 // Sent when an extension is unloaded. This happens when an extension is | 473 // Sent when an extension is unloaded. This happens when an extension is |
| 474 // uninstalled or disabled. The details are an UnloadedExtensionInfo, and | 474 // uninstalled or disabled. The details are an UnloadedExtensionInfo, and |
| 475 // the source is a Profile. | 475 // the source is a Profile. |
| 476 // | 476 // |
| 477 // Note that when this notification is sent, ExtensionService has already | 477 // Note that when this notification is sent, ExtensionService has already |
| 478 // removed the extension from its internal state. | 478 // removed the extension from its internal state. |
| 479 NOTIFICATION_EXTENSION_UNLOADED, | 479 NOTIFICATION_EXTENSION_UNLOADED, |
| 480 | 480 |
| 481 // Sent when an Extension object is removed from ExtensionService. This | |
| 482 // can happen when an extension is uninstalled, upgraded, or blacklisted, | |
| 483 // including all cases when the Extension is deleted. The details are an | |
| 484 // Extension, and the source is a Profile. | |
| 485 NOTIFICATION_EXTENSION_REMOVED, | |
| 486 | |
| 487 // Sent after a new ExtensionHost is created. The details are | 481 // Sent after a new ExtensionHost is created. The details are |
| 488 // an ExtensionHost* and the source is a Profile*. | 482 // an ExtensionHost* and the source is a Profile*. |
| 489 NOTIFICATION_EXTENSION_HOST_CREATED, | 483 NOTIFICATION_EXTENSION_HOST_CREATED, |
| 490 | 484 |
| 491 // Sent before an ExtensionHost is destroyed. The details are | 485 // Sent before an ExtensionHost is destroyed. The details are |
| 492 // an ExtensionHost* and the source is a Profile*. | 486 // an ExtensionHost* and the source is a Profile*. |
| 493 NOTIFICATION_EXTENSION_HOST_DESTROYED, | 487 NOTIFICATION_EXTENSION_HOST_DESTROYED, |
| 494 | 488 |
| 495 // Sent by an ExtensionHost when it has finished its initial page load, | 489 // Sent by an ExtensionHost when it has finished its initial page load, |
| 496 // including any external resources. | 490 // including any external resources. |
| (...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1071 // Note:- | 1065 // Note:- |
| 1072 // Currently only Content and Chrome define and use notifications. | 1066 // Currently only Content and Chrome define and use notifications. |
| 1073 // Custom notifications not belonging to Content and Chrome should start | 1067 // Custom notifications not belonging to Content and Chrome should start |
| 1074 // from here. | 1068 // from here. |
| 1075 NOTIFICATION_CHROME_END, | 1069 NOTIFICATION_CHROME_END, |
| 1076 }; | 1070 }; |
| 1077 | 1071 |
| 1078 } // namespace chrome | 1072 } // namespace chrome |
| 1079 | 1073 |
| 1080 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 1074 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |