Searched refs:balloon_collection_ (Results 1 - 6 of 6) sorted by relevance

/external/chromium/chrome/browser/notifications/
H A Ddesktop_notifications_unittest.cc87 balloon_collection_ = new MockBalloonCollection();
89 ui_manager_->Initialize(balloon_collection_);
90 balloon_collection_->set_space_change_listener(ui_manager_.get());
121 EXPECT_EQ(1, balloon_collection_->count());
132 EXPECT_EQ(2, balloon_collection_->count());
147 EXPECT_EQ(1, balloon_collection_->count());
150 while (balloon_collection_->count() > 0) {
151 (*(balloon_collection_->GetActiveBalloons().begin()))->OnClose(true);
172 EXPECT_EQ(1, balloon_collection_->count());
180 EXPECT_EQ(0, balloon_collection_
[all...]
H A Dnotification_ui_manager.cc51 : balloon_collection_(NULL),
85 DCHECK(!balloon_collection_.get());
87 balloon_collection_.reset(balloon_collection);
88 balloon_collection_->SetPositionPreference(
116 return balloon_collection_->RemoveById(id);
133 return balloon_collection_->RemoveBySourceOrigin(source) || removed;
138 balloon_collection_->RemoveAll();
168 while (!show_queue_.empty() && balloon_collection_->HasSpace()) {
171 balloon_collection_->Add(queued_notification->notification(),
200 balloon_collection_
[all...]
H A Dnotification_ui_manager.h67 return balloon_collection_.get();
101 scoped_ptr<BalloonCollection> balloon_collection_; member in class:NotificationUIManager
H A Ddesktop_notifications_unittest.h113 MockBalloonCollection* balloon_collection_; member in class:DesktopNotificationsTest
/external/chromium/chrome/browser/chromeos/notifications/
H A Ddesktop_notifications_unittest.cc82 balloon_collection_ = new MockBalloonCollection();
84 ui_manager_->Initialize(balloon_collection_);
85 balloon_collection_->set_space_change_listener(ui_manager_.get());
116 EXPECT_EQ(1, balloon_collection_->count());
127 EXPECT_EQ(2, balloon_collection_->count());
142 EXPECT_EQ(1, balloon_collection_->count());
145 std::set<Balloon*> balloons = balloon_collection_->balloons();
152 EXPECT_EQ(0, balloon_collection_->count());
172 EXPECT_EQ(1, balloon_collection_->count());
180 EXPECT_EQ(0, balloon_collection_
[all...]
H A Ddesktop_notifications_unittest.h102 MockBalloonCollection* balloon_collection_; member in class:chromeos::DesktopNotificationsTest

Completed in 395 milliseconds