Searched refs:balloon (Results 1 - 25 of 65) sorted by relevance

123

/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 Dfake_balloon_view.h10 #include "chrome/browser/notifications/balloon.h"
12 // Test version of a balloon view which doesn't do anything viewable, but does
16 explicit FakeBalloonView(Balloon* balloon);
21 virtual void Show(Balloon* balloon) OVERRIDE;
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_collection_base.h29 // Adds a balloon to the collection. Takes ownership of pointer.
30 virtual void Add(Balloon* balloon, bool add_to_front);
32 // Removes a balloon from the collection (if present). Frees
34 virtual void Remove(Balloon* balloon);
36 // Returns true if any balloon matches the given notification id.
39 // Finds any balloon matching the given notification id, and
58 // Returns the balloon matching the given notification id, or
59 // NULL if there is no matching balloon.
62 // Returns the balloon matching the given notification, or
63 // NULL if there is no matching balloon
[all...]
/external/chromium/chrome/browser/chromeos/notifications/
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 Dballoon_collection_impl.h28 // A balloon collection represents a set of notification balloons being
42 // Add, remove, resize and show the balloon.
43 virtual void Add(Balloon* balloon) = 0;
44 virtual bool Update(Balloon* balloon) = 0;
45 virtual void Remove(Balloon* balloon) = 0;
46 virtual void Show(Balloon* balloon) = 0;
49 virtual void ResizeNotification(Balloon* balloon,
68 virtual void ResizeBalloon(Balloon* balloon, const gfx::Size& size);
117 // Creates a new balloon. Overridable by unit tests. The caller is
H A Dballoon_view_host.h26 explicit BalloonViewHost(Balloon* balloon) : ::BalloonViewHost(balloon) {} argument
H A Dnotification_panel.h92 virtual void Add(Balloon* balloon);
93 virtual bool Update(Balloon* balloon);
94 virtual void Remove(Balloon* balloon);
95 virtual void Show(Balloon* balloon);
96 virtual void ResizeNotification(Balloon* balloon,
129 // Scroll the panel so that the |balloon| is visible.
130 void ScrollBalloonToVisible(Balloon* balloon);
146 void StartStaleTimer(Balloon* balloon);
194 // A balloon that should be visible when it gets some size.
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),
H A Dballoon_view_host_gtk.h20 explicit BalloonViewHost(Balloon* balloon);
26 // Changes the size of the balloon.
/external/chromium/chrome/browser/notifications/
H A Dballoon_collection_base.h29 // Adds a balloon to the collection. Takes ownership of pointer.
30 virtual void Add(Balloon* balloon);
32 // Removes a balloon from the collection (if present). Frees
34 virtual void Remove(Balloon* balloon);
36 // Finds any balloon matching the given notification id, and
51 // Returns the balloon matching the given notification, or
52 // NULL if there is no matching 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 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 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
/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;
H A Dballoon_view_host_gtk.h17 explicit BalloonViewHost(Balloon* balloon);
21 // Changes the size of the balloon.
/external/chromium_org/chrome/browser/ui/cocoa/notifications/
H A Dballoon_view_host_mac.h16 explicit BalloonViewHost(Balloon* balloon);
20 // Changes the size of the balloon.
/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/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/cocoa/notifications/
H A Dballoon_view_bridge.h9 #include "chrome/browser/notifications/balloon.h"
25 virtual void Show(Balloon* balloon);
33 // Weak pointer to the balloon controller which manages the UI.
H A Dballoon_view_host_mac.h20 explicit BalloonViewHost(Balloon* balloon);
24 // Changes the size of the balloon.

Completed in 686 milliseconds

123