diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 23:47:09 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 23:47:09 +0000 |
commit | 83f220770080621463758bce86d195bb60edc178 (patch) | |
tree | 8484a5a144b46c0b4115b694a8854a8bde04c420 /chrome/browser/notifications/notification_ui_manager.cc | |
parent | ae40ccd86384f6d6246f0d01b6629df16a008402 (diff) | |
download | chromium_src-83f220770080621463758bce86d195bb60edc178.zip chromium_src-83f220770080621463758bce86d195bb60edc178.tar.gz chromium_src-83f220770080621463758bce86d195bb60edc178.tar.bz2 |
Refactoring balloon collection and added chromeos's BalloonCollection.
* Separated BalloonCollection and BalloonCollectionImpl
* Moved BalloonSpaceChangeListener to BalloonCollection from BalloonCollectionImpl as this listener is used by NotificationUIManager.
* Added BalloonCollectionImpl for chromeos. (chromeos/notifications/balloon_collectino_impl.{h,cc})
* Changed NotificationPanel to use ScrollView to show all notifications in the panel.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/660111
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40460 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications/notification_ui_manager.cc')
-rw-r--r-- | chrome/browser/notifications/notification_ui_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/notifications/notification_ui_manager.cc b/chrome/browser/notifications/notification_ui_manager.cc index 0330570..e5ae3bd 100644 --- a/chrome/browser/notifications/notification_ui_manager.cc +++ b/chrome/browser/notifications/notification_ui_manager.cc @@ -42,7 +42,7 @@ NotificationUIManager::~NotificationUIManager() { // static NotificationUIManager* NotificationUIManager::Create() { - BalloonCollectionImpl* balloons = new BalloonCollectionImpl(); + BalloonCollection* balloons = BalloonCollection::Create(); NotificationUIManager* instance = new NotificationUIManager(); instance->Initialize(balloons); balloons->set_space_change_listener(instance); |