Searched defs:balloon (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium/chrome/browser/chromeos/notifications/
H A Dballoon_view_host.h26 explicit BalloonViewHost(Balloon* balloon) : ::BalloonViewHost(balloon) {} argument
H A Dballoon_collection_impl.cc12 #include "chrome/browser/notifications/balloon.h"
56 Balloon* balloon = FindBalloon(notification); local
57 if (!balloon) {
62 static_cast<BalloonViewHost*>(balloon->view()->GetHost());
86 Balloon* balloon = FindBalloon(notification); local
87 if (!balloon)
89 balloon->Update(notification);
90 notification_ui_->Update(balloon);
96 Balloon* balloon = FindBalloon(notification); local
97 if (!balloon)
122 ResizeBalloon(Balloon* balloon, const gfx::Size& size) argument
[all...]
H A Ddesktop_notifications_unittest.cc20 virtual void Add(Balloon* balloon) {} argument
21 virtual bool Update(Balloon* balloon) { return false; } argument
22 virtual void Remove(Balloon* balloon) {} argument
23 virtual void Show(Balloon* balloon) {} argument
24 virtual void ResizeNotification(Balloon* balloon, argument
37 // balloon collection.
49 // Start with a normal balloon but mock out the view.
50 Balloon* balloon = BalloonCollectionImpl::MakeBalloon(notification, profile); local
51 balloon->set_view(new MockBalloonView(balloon));
265 Balloon* balloon = (*balloon_collection_->balloons().begin()); local
[all...]
/external/chromium/chrome/browser/ui/gtk/notifications/
H A Dballoon_view_host_gtk.cc7 #include "chrome/browser/notifications/balloon.h"
12 BalloonViewHost::BalloonViewHost(Balloon* balloon) argument
13 : BalloonHost(balloon),
/external/chromium_org/chrome/browser/ui/gtk/notifications/
H A Dballoon_view_host_gtk.cc9 #include "chrome/browser/notifications/balloon.h"
15 BalloonViewHost::BalloonViewHost(Balloon* balloon) argument
16 : BalloonHost(balloon) {
H A Dballoon_collection_gtk.cc7 #include "chrome/browser/notifications/balloon.h"
13 Balloon* balloon = new Balloon(notification, profile, this); local
15 balloon->set_view(new BalloonViewImpl(this));
17 balloon->set_content_size(size);
18 return balloon;
/external/chromium/chrome/browser/notifications/
H A Dballoon_collection_base.cc8 #include "chrome/browser/notifications/balloon.h"
19 void BalloonCollectionBase::Add(Balloon* balloon) { argument
20 balloons_.push_back(balloon);
23 void BalloonCollectionBase::Remove(Balloon* balloon) { argument
25 scoped_ptr<Balloon> to_delete(balloon);
28 if ((*iter) == balloon) {
H A Dballoon_collection_linux.cc7 #include "chrome/browser/notifications/balloon.h"
18 Balloon* balloon = new Balloon(notification, profile, this); local
20 balloon->set_view(new BalloonViewImpl(this));
22 balloon->set_content_size(size);
23 return balloon;
H A Dballoon_collection_win.cc7 #include "chrome/browser/notifications/balloon.h"
13 Balloon* balloon = new Balloon(notification, profile, this); local
14 balloon->set_view(new BalloonViewImpl(this));
16 balloon->set_content_size(size);
17 return balloon;
H A Dnotification_test_util.h12 #include "chrome/browser/notifications/balloon.h"
73 // Test version of a balloon view which doesn't do anything
78 explicit MockBalloonView(Balloon * balloon) : argument
79 balloon_(balloon) {}
82 virtual void Show(Balloon* balloon) {} argument
H A Dnotification_options_menu_model.cc41 CornerSelectionMenuModel::CornerSelectionMenuModel(Balloon* balloon) argument
43 balloon_(balloon) {
112 NotificationOptionsMenuModel::NotificationOptionsMenuModel(Balloon* balloon) argument
114 balloon_(balloon) {
115 const Notification& notification = balloon->notification();
140 corner_menu_model_.reset(new CornerSelectionMenuModel(balloon));
H A Dballoon_collection_impl.cc9 #include "chrome/browser/notifications/balloon.h"
25 // Delay from the mouse leaving the balloon collection before
98 void BalloonCollectionImpl::ResizeBalloon(Balloon* balloon, argument
100 balloon->set_content_size(Layout::ConstrainToSizeLimits(size));
110 // We want to free the balloon when finished.
133 // leaves the balloon area.
172 // For each balloon, extend the rectangle. This approach is indifferent to
H A Dballoon_host.cc8 #include "chrome/browser/notifications/balloon.h"
27 BalloonHost::BalloonHost(Balloon* balloon) argument
29 balloon_(balloon),
H A Ddesktop_notifications_unittest.cc28 // balloon collection.
44 // Start with a normal balloon but mock out the view.
45 Balloon* balloon = BalloonCollectionImpl::MakeBalloon(notification, profile); local
46 balloon->set_view(new MockBalloonView(balloon));
47 balloons_.push_back(balloon);
48 return balloon;
143 // Request a notification; should open a balloon.
167 // Request a notification; should open a balloon.
179 // Verify that the balloon collectio
331 Balloon* balloon = (*balloon_collection_->balloons().begin()); local
[all...]
/external/chromium_org/chrome/browser/chromeos/notifications/
H A Dballoon_view_host_chromeos.cc20 BalloonViewHost::BalloonViewHost(Balloon* balloon) argument
21 : ::BalloonViewHost(balloon) {
/external/chromium_org/chrome/browser/notifications/
H A Dfake_balloon_view.cc7 FakeBalloonView::FakeBalloonView(Balloon* balloon) argument
8 : balloon_(balloon) {
14 void FakeBalloonView::Show(Balloon* balloon) { argument
H A Dballoon_collection_base.cc8 #include "chrome/browser/notifications/balloon.h"
19 void BalloonCollectionBase::Add(Balloon* balloon, bool add_to_front) { argument
21 balloons_.push_front(balloon);
23 balloons_.push_back(balloon);
26 void BalloonCollectionBase::Remove(Balloon* balloon) { argument
28 scoped_ptr<Balloon> to_delete(balloon);
31 if ((*iter) == balloon) {
H A Dballoon_host.cc8 #include "chrome/browser/notifications/balloon.h"
36 BalloonHost::BalloonHost(Balloon* balloon) argument
37 : balloon_(balloon),
H A Dnotification_options_menu_model.cc13 #include "chrome/browser/notifications/balloon.h"
48 CornerSelectionMenuModel::CornerSelectionMenuModel(Balloon* balloon) argument
50 balloon_(balloon) {
133 NotificationOptionsMenuModel::NotificationOptionsMenuModel(Balloon* balloon) argument
135 balloon_(balloon) {
136 const Notification& notification = balloon->notification();
164 corner_menu_model_.reset(new CornerSelectionMenuModel(balloon));
H A Ddesktop_notifications_unittest.cc46 // balloon collection.
62 // Start with a normal balloon but mock out the view.
63 Balloon* balloon = BalloonCollectionImpl::MakeBalloon(notification, profile); local
64 balloon->set_view(new FakeBalloonView(balloon));
65 balloons_.push_back(balloon);
66 return balloon;
182 // Request a notification; should open a balloon.
207 // Request a notification; should open a balloon.
219 // Verify that the balloon collectio
455 Balloon* balloon = (*balloon_collection_->balloons().begin()); local
[all...]
/external/chromium_org/chrome/browser/ui/views/notifications/
H A Dballoon_view_host.cc7 #include "chrome/browser/notifications/balloon.h"
37 BalloonViewHost::BalloonViewHost(Balloon* balloon) argument
38 : BalloonHost(balloon) {
H A Dballoon_collection_views.cc7 #include "chrome/browser/notifications/balloon.h"
16 Balloon* balloon = new Balloon(notification, profile, this); local
17 balloon->set_view(new BalloonViewImpl(this));
19 balloon->set_content_size(size);
20 return balloon;
/external/chromium/chrome/browser/ui/views/notifications/
H A Dballoon_view_host.cc7 #include "chrome/browser/notifications/balloon.h"
52 BalloonViewHost::BalloonViewHost(Balloon* balloon) argument
53 : BalloonHost(balloon) {
/external/chromium/chrome/browser/extensions/
H A Dextension_crash_recovery_browsertest.cc43 Balloon* balloon = GetNotificationDelegate(index); local
44 ASSERT_TRUE(balloon);
45 balloon->OnClick();
50 Balloon* balloon = GetNotificationDelegate(index); local
53 manager->CancelById(balloon->notification().notification_id());
133 SCOPED_TRACE("after clicking the balloon");
173 // The balloon should automatically hide after the extension is successfully
189 // Open a new tab, but the balloon will still be there.
201 // The balloon should automatically hide after the extension is successfully
322 SCOPED_TRACE("after clicking the balloon");
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dextension_crash_recovery_browsertest.cc11 #include "chrome/browser/notifications/balloon.h"
73 // Wait for extension crash balloon to appear.
133 Balloon* balloon = GetNotificationDelegate(index); variable
134 ASSERT_TRUE(balloon); variable
135 balloon->OnClick();
151 Balloon* balloon = GetNotificationDelegate(index); variable
152 ASSERT_TRUE(balloon); variable
153 std::string id = balloon->notification().notification_id();
188 SCOPED_TRACE("after clicking the balloon");
238 // The balloon shoul
[all...]

Completed in 412 milliseconds

12