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_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
7 | 7 |
8 #include "content/public/browser/notification_types.h" | 8 #include "content/public/browser/notification_types.h" |
9 | 9 |
10 namespace chrome { | 10 namespace chrome { |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 NOTIFICATION_EXTENSION_BACKGROUND_PAGE_READY, | 555 NOTIFICATION_EXTENSION_BACKGROUND_PAGE_READY, |
556 | 556 |
557 // Sent when a pop-up extension view is ready, so that notification may | 557 // Sent when a pop-up extension view is ready, so that notification may |
558 // be sent to pending callbacks. Note that this notification is sent | 558 // be sent to pending callbacks. Note that this notification is sent |
559 // after all onload callbacks have been invoked in the main frame. | 559 // after all onload callbacks have been invoked in the main frame. |
560 // The details is the ExtensionHost* hosted within the popup, and the source | 560 // The details is the ExtensionHost* hosted within the popup, and the source |
561 // is a Profile*. | 561 // is a Profile*. |
562 NOTIFICATION_EXTENSION_POPUP_VIEW_READY, | 562 NOTIFICATION_EXTENSION_POPUP_VIEW_READY, |
563 | 563 |
564 // Sent when a browser action's state has changed. The source is the | 564 // Sent when a browser action's state has changed. The source is the |
565 // ExtensionAction* that changed. There are no details. | 565 // ExtensionAction* that changed. The details are the Profile* that the |
| 566 // browser action belongs to. |
566 NOTIFICATION_EXTENSION_BROWSER_ACTION_UPDATED, | 567 NOTIFICATION_EXTENSION_BROWSER_ACTION_UPDATED, |
567 | 568 |
568 // Sent when the count of page actions has changed. Note that some of them | 569 // Sent when the count of page actions has changed. Note that some of them |
569 // may not apply to the current page. The source is a LocationBar*. There | 570 // may not apply to the current page. The source is a LocationBar*. There |
570 // are no details. | 571 // are no details. |
571 NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED, | 572 NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED, |
572 | 573 |
573 // Sent when a browser action's visibility has changed. The source is the | 574 // Sent when a browser action's visibility has changed. The source is the |
574 // ExtensionPrefs* that changed. The details are a Extension*. | 575 // ExtensionPrefs* that changed. The details are a Extension*. |
575 NOTIFICATION_EXTENSION_BROWSER_ACTION_VISIBILITY_CHANGED, | 576 NOTIFICATION_EXTENSION_BROWSER_ACTION_VISIBILITY_CHANGED, |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1233 // Currently only Content and Chrome define and use notifications. | 1234 // Currently only Content and Chrome define and use notifications. |
1234 // Custom notifications not belonging to Content and Chrome should start | 1235 // Custom notifications not belonging to Content and Chrome should start |
1235 // from here. | 1236 // from here. |
1236 NOTIFICATION_CHROME_END, | 1237 NOTIFICATION_CHROME_END, |
1237 }; | 1238 }; |
1238 | 1239 |
1239 } // namespace chrome | 1240 } // namespace chrome |
1240 | 1241 |
1241 | 1242 |
1242 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1243 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |