Home | History | Annotate | Download | only in notifications

Lines Matching refs:balloon

20   virtual void Add(Balloon* balloon) {}
21 virtual bool Update(Balloon* balloon) { return false; }
22 virtual void Remove(Balloon* balloon) {}
23 virtual void Show(Balloon* balloon) {}
24 virtual void ResizeNotification(Balloon* balloon,
37 // balloon collection.
47 Balloon* MockBalloonCollection::MakeBalloon(const Notification& notification,
49 // Start with a normal balloon but mock out the view.
50 Balloon* balloon = BalloonCollectionImpl::MakeBalloon(notification, profile);
51 balloon->set_view(new MockBalloonView(balloon));
52 balloons_.insert(balloon);
53 return balloon;
56 void MockBalloonCollection::OnBalloonClosed(Balloon* source) {
63 std::set<Balloon*>::iterator iter;
138 // Request a notification; should open a balloon.
145 std::set<Balloon*> balloons = balloon_collection_->balloons();
146 std::set<Balloon*>::iterator iter;
151 // Verify that the balloon collection is now empty.
167 // Request a notification; should open a balloon.
179 // Verify that the balloon collection is now empty.
227 // Now cancel the rest. It should empty the balloon space.
236 // Verify that the balloon collection is now empty.
255 // data:// URL that's produced for the balloon.
265 Balloon* balloon = (*balloon_collection_->balloons().begin());
266 GURL data_url = balloon->notification().content_url();