diff options
Diffstat (limited to 'chrome/browser/notifications/balloon_collection.h')
-rw-r--r-- | chrome/browser/notifications/balloon_collection.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/notifications/balloon_collection.h b/chrome/browser/notifications/balloon_collection.h index 998142b..2d868c4 100644 --- a/chrome/browser/notifications/balloon_collection.h +++ b/chrome/browser/notifications/balloon_collection.h @@ -7,6 +7,8 @@ #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_H_ #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_H_ +#include <deque> + class Balloon; class Notification; class Profile; @@ -54,6 +56,10 @@ class BalloonCollection { // Inform the collection that a balloon was closed. virtual void OnBalloonClosed(Balloon* source) = 0; + // Get const collection of the active balloons. + typedef std::deque<Balloon*> Balloons; + virtual const Balloons& GetActiveBalloons() = 0; + BalloonSpaceChangeListener* space_change_listener() { return space_change_listener_; } |