/external/chromium/chrome/browser/chromeos/notifications/ |
H A D | balloon_view_host.h | 26 explicit BalloonViewHost(Balloon* balloon) : ::BalloonViewHost(balloon) {} argument
|
H A D | balloon_collection_impl.cc | 12 #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 D | desktop_notifications_unittest.cc | 20 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...] |
H A D | balloon_view.cc | 13 #include "chrome/browser/notifications/balloon.h" 197 // as it is owned by the balloon. 213 void BalloonViewImpl::Show(Balloon* balloon) { argument 214 balloon_ = balloon; 215 html_contents_ = new BalloonViewHost(balloon); 220 NotificationType::NOTIFY_BALLOON_DISCONNECTED, Source<Balloon>(balloon)); 296 // If the renderer process attached to this balloon is disconnected 297 // (e.g., because of a crash), we want to close the balloon.
|
H A D | notification_panel.cc | 29 // Minimum and maximum size of balloon content. 65 chromeos::BalloonViewImpl* GetBalloonViewOf(const Balloon* balloon) { argument 66 return static_cast<chromeos::BalloonViewImpl*>(balloon->view()); 285 void Add(Balloon* balloon) { argument 286 BalloonViewImpl* view = GetBalloonViewOf(balloon); 287 GetContainerFor(balloon)->AddChildView(view); 290 // Updates the position of the |balloon|. 291 bool Update(Balloon* balloon) { argument 292 BalloonViewImpl* view = GetBalloonViewOf(balloon); 309 BalloonViewImpl* Remove(Balloon* balloon) { argument 489 Add(Balloon* balloon) argument 502 Update(Balloon* balloon) argument 506 Remove(Balloon* balloon) argument 530 Show(Balloon* balloon) argument 539 ResizeNotification( Balloon* balloon, const gfx::Size& size) argument 675 ScrollBalloonToVisible(Balloon* balloon) argument 770 StartStaleTimer(Balloon* balloon) argument 838 Balloon* balloon = collection->FindBalloon(notification); local [all...] |
/external/chromium/chrome/browser/ui/gtk/notifications/ |
H A D | balloon_view_host_gtk.cc | 7 #include "chrome/browser/notifications/balloon.h" 12 BalloonViewHost::BalloonViewHost(Balloon* balloon) argument 13 : BalloonHost(balloon),
|
H A D | balloon_view_gtk.cc | 16 #include "chrome/browser/notifications/balloon.h" 57 // balloon bottom. 136 // Although this may not be the instantaneous size of the balloon if 158 // No need to create a slide animation when this balloon is fading out. 208 void BalloonViewImpl::Show(Balloon* balloon) { argument 209 theme_service_ = GtkThemeService::GetFrom(balloon->profile()); 213 balloon->notification().display_source()); 219 balloon_ = balloon; 226 // Create a BalloonViewHost to host the HTML contents of this balloon. 227 html_contents_.reset(new BalloonViewHost(balloon)); [all...] |
/external/chromium/chrome/browser/notifications/ |
H A D | balloon_collection_base.cc | 8 #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 D | balloon_collection_linux.cc | 7 #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 D | balloon_collection_win.cc | 7 #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 D | notification_test_util.h | 12 #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 D | notification_options_menu_model.cc | 41 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 D | balloon_collection_impl.cc | 9 #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 D | balloon_host.cc | 8 #include "chrome/browser/notifications/balloon.h" 27 BalloonHost::BalloonHost(Balloon* balloon) argument 29 balloon_(balloon),
|
H A D | desktop_notifications_unittest.cc | 28 // 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/chrome/browser/ui/views/notifications/ |
H A D | balloon_view_host.cc | 7 #include "chrome/browser/notifications/balloon.h" 52 BalloonViewHost::BalloonViewHost(Balloon* balloon) argument 53 : BalloonHost(balloon) {
|
H A D | balloon_view.cc | 11 #include "chrome/browser/notifications/balloon.h" 108 // as it is owned by the balloon. 279 void BalloonViewImpl::Show(Balloon* balloon) { argument 282 balloon_ = balloon; 289 balloon->notification().display_source()); 316 html_contents_.reset(new BalloonViewHost(balloon)); 362 NotificationType::NOTIFY_BALLOON_DISCONNECTED, Source<Balloon>(balloon)); 500 // If the renderer process attached to this balloon is disconnected 501 // (e.g., because of a crash), we want to close the balloon.
|
/external/chromium/chrome/browser/extensions/ |
H A D | extension_crash_recovery_browsertest.cc | 43 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/chrome/browser/automation/ |
H A D | automation_provider_observers.cc | 36 #include "chrome/browser/notifications/balloon.h" 2091 bool IsNotificationProcessReady(Balloon* balloon) { argument 2092 return balloon->view() && 2093 balloon->view()->GetHost() && 2094 balloon->view()->GetHost()->render_view_host() && 2095 balloon->view()->GetHost()->render_view_host()->process()->GetHandle(); 2146 DictionaryValue* balloon = new DictionaryValue; local 2147 balloon->SetString("content_url", notification.content_url().spec()); 2148 balloon->SetString("origin_url", notification.origin_url().spec()); 2149 balloon [all...] |