Searched refs:balloon_collection_ (Results 1 – 6 of 6) sorted by relevance
/external/chromium/chrome/browser/notifications/ |
D | desktop_notifications_unittest.cc | 87 balloon_collection_ = new MockBalloonCollection(); in SetUp() 89 ui_manager_->Initialize(balloon_collection_); in SetUp() 90 balloon_collection_->set_space_change_listener(ui_manager_.get()); in SetUp() 121 EXPECT_EQ(1, balloon_collection_->count()); in TEST_F() 132 EXPECT_EQ(2, balloon_collection_->count()); in TEST_F() 147 EXPECT_EQ(1, balloon_collection_->count()); in TEST_F() 150 while (balloon_collection_->count() > 0) { in TEST_F() 151 (*(balloon_collection_->GetActiveBalloons().begin()))->OnClose(true); in TEST_F() 172 EXPECT_EQ(1, balloon_collection_->count()); in TEST_F() 180 EXPECT_EQ(0, balloon_collection_->count()); in TEST_F() [all …]
|
D | notification_ui_manager.cc | 51 : balloon_collection_(NULL), in NotificationUIManager() 85 DCHECK(!balloon_collection_.get()); in Initialize() 87 balloon_collection_.reset(balloon_collection); in Initialize() 88 balloon_collection_->SetPositionPreference( in Initialize() 116 return balloon_collection_->RemoveById(id); in CancelById() 133 return balloon_collection_->RemoveBySourceOrigin(source) || removed; in CancelAllBySourceOrigin() 138 balloon_collection_->RemoveAll(); in CancelAll() 168 while (!show_queue_.empty() && balloon_collection_->HasSpace()) { in ShowNotifications() 171 balloon_collection_->Add(queued_notification->notification(), in ShowNotifications() 200 balloon_collection_->GetActiveBalloons(); in TryReplacement() [all …]
|
D | notification_ui_manager.h | 67 return balloon_collection_.get(); in balloon_collection() 101 scoped_ptr<BalloonCollection> balloon_collection_; variable
|
D | desktop_notifications_unittest.h | 113 MockBalloonCollection* balloon_collection_; variable
|
/external/chromium/chrome/browser/chromeos/notifications/ |
D | desktop_notifications_unittest.cc | 82 balloon_collection_ = new MockBalloonCollection(); in SetUp() 84 ui_manager_->Initialize(balloon_collection_); in SetUp() 85 balloon_collection_->set_space_change_listener(ui_manager_.get()); in SetUp() 116 EXPECT_EQ(1, balloon_collection_->count()); in TEST_F() 127 EXPECT_EQ(2, balloon_collection_->count()); in TEST_F() 142 EXPECT_EQ(1, balloon_collection_->count()); in TEST_F() 145 std::set<Balloon*> balloons = balloon_collection_->balloons(); in TEST_F() 152 EXPECT_EQ(0, balloon_collection_->count()); in TEST_F() 172 EXPECT_EQ(1, balloon_collection_->count()); in TEST_F() 180 EXPECT_EQ(0, balloon_collection_->count()); in TEST_F() [all …]
|
D | desktop_notifications_unittest.h | 102 MockBalloonCollection* balloon_collection_; variable
|