balloon_collection_ 67 chrome/browser/notifications/balloon_notification_ui_manager.cc DCHECK(!balloon_collection_.get() || balloon_collection_ 68 chrome/browser/notifications/balloon_notification_ui_manager.cc balloon_collection_->GetActiveBalloons().size() == 0); balloon_collection_ 70 chrome/browser/notifications/balloon_notification_ui_manager.cc balloon_collection_.reset(balloon_collection); balloon_collection_ 71 chrome/browser/notifications/balloon_notification_ui_manager.cc balloon_collection_->SetPositionPreference( balloon_collection_ 74 chrome/browser/notifications/balloon_notification_ui_manager.cc balloon_collection_->set_space_change_listener(this); balloon_collection_ 121 chrome/browser/notifications/balloon_notification_ui_manager.cc return balloon_collection_->FindById(id); balloon_collection_ 134 chrome/browser/notifications/balloon_notification_ui_manager.cc return balloon_collection_->RemoveById(id); balloon_collection_ 151 chrome/browser/notifications/balloon_notification_ui_manager.cc balloon_collection_->GetActiveBalloons(); balloon_collection_ 176 chrome/browser/notifications/balloon_notification_ui_manager.cc return balloon_collection_->RemoveBySourceOrigin(source) || removed; balloon_collection_ 192 chrome/browser/notifications/balloon_notification_ui_manager.cc return balloon_collection_->RemoveByProfile(profile) || removed; balloon_collection_ 196 chrome/browser/notifications/balloon_notification_ui_manager.cc balloon_collection_->RemoveAll(); balloon_collection_ 200 chrome/browser/notifications/balloon_notification_ui_manager.cc return balloon_collection_.get(); balloon_collection_ 210 chrome/browser/notifications/balloon_notification_ui_manager.cc if (!balloon_collection_->HasSpace()) balloon_collection_ 212 chrome/browser/notifications/balloon_notification_ui_manager.cc balloon_collection_->Add(notification, profile); balloon_collection_ 234 chrome/browser/notifications/balloon_notification_ui_manager.cc balloon_collection_->GetActiveBalloons(); balloon_collection_ 257 chrome/browser/notifications/balloon_notification_ui_manager.cc balloon_collection_->SetPositionPreference(preference); balloon_collection_ 271 chrome/browser/notifications/balloon_notification_ui_manager.cc balloon_collection_->SetPositionPreference( balloon_collection_ 98 chrome/browser/notifications/balloon_notification_ui_manager.h scoped_ptr<BalloonCollection> balloon_collection_; balloon_collection_ 133 chrome/browser/notifications/desktop_notifications_unittest.cc balloon_collection_ = new MockBalloonCollection(); balloon_collection_ 134 chrome/browser/notifications/desktop_notifications_unittest.cc ui_manager_->SetBalloonCollection(balloon_collection_); balloon_collection_ 177 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_EQ(1, balloon_collection_->count()); balloon_collection_ 188 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_EQ(2, balloon_collection_->count()); balloon_collection_ 204 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_EQ(1, balloon_collection_->count()); balloon_collection_ 207 chrome/browser/notifications/desktop_notifications_unittest.cc while (balloon_collection_->count() > 0) { balloon_collection_ 208 chrome/browser/notifications/desktop_notifications_unittest.cc (*(balloon_collection_->GetActiveBalloons().begin()))->OnClose(true); balloon_collection_ 230 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_EQ(1, balloon_collection_->count()); balloon_collection_ 238 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_EQ(0, balloon_collection_->count()); balloon_collection_ 258 chrome/browser/notifications/desktop_notifications_unittest.cc int top = balloon_collection_->UppermostVerticalPosition(); balloon_collection_ 260 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_LE(top, last_top - balloon_collection_->MinHeight()); balloon_collection_ 292 chrome/browser/notifications/desktop_notifications_unittest.cc std::deque<Balloon*>& balloons = balloon_collection_->balloons(); balloon_collection_ 297 chrome/browser/notifications/desktop_notifications_unittest.cc balloon_collection_->MinHeight()); balloon_collection_ 299 chrome/browser/notifications/desktop_notifications_unittest.cc balloon_collection_->MaxHeight()); balloon_collection_ 302 chrome/browser/notifications/desktop_notifications_unittest.cc balloon_collection_->MinHeight()); balloon_collection_ 349 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_EQ(1, balloon_collection_->count()); balloon_collection_ 386 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_EQ(1, balloon_collection_->count()); balloon_collection_ 407 chrome/browser/notifications/desktop_notifications_unittest.cc for (int i = 0; i < balloon_collection_->max_balloon_count(); ++i) { balloon_collection_ 413 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_EQ(balloon_collection_->max_balloon_count(), balloon_collection_ 414 chrome/browser/notifications/desktop_notifications_unittest.cc balloon_collection_->count()); balloon_collection_ 422 chrome/browser/notifications/desktop_notifications_unittest.cc id <= kLotsOfToasts - balloon_collection_->max_balloon_count(); balloon_collection_ 428 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_EQ(balloon_collection_->max_balloon_count(), balloon_collection_ 429 chrome/browser/notifications/desktop_notifications_unittest.cc balloon_collection_->count()); balloon_collection_ 443 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_EQ(0, balloon_collection_->count()); balloon_collection_ 471 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_EQ(1, balloon_collection_->count()); balloon_collection_ 472 chrome/browser/notifications/desktop_notifications_unittest.cc Balloon* balloon = (*balloon_collection_->balloons().begin()); balloon_collection_ 491 chrome/browser/notifications/desktop_notifications_unittest.cc gfx::Rect box = balloon_collection_->GetBalloonsBoundingBox(); balloon_collection_ 499 chrome/browser/notifications/desktop_notifications_unittest.cc std::deque<Balloon*>& balloons = balloon_collection_->balloons(); balloon_collection_ 529 chrome/browser/notifications/desktop_notifications_unittest.cc std::deque<Balloon*>& balloons = balloon_collection_->balloons(); balloon_collection_ 120 chrome/browser/notifications/desktop_notifications_unittest.h MockBalloonCollection* balloon_collection_;