/external/chromium/chrome/browser/chromeos/notifications/ |
D | balloon_collection_impl.cc | 56 Balloon* balloon = FindBalloon(notification); in AddWebUIMessageCallback() local 57 if (!balloon) { in AddWebUIMessageCallback() 62 static_cast<BalloonViewHost*>(balloon->view()->GetHost()); in AddWebUIMessageCallback() 86 Balloon* balloon = FindBalloon(notification); in UpdateNotification() local 87 if (!balloon) in UpdateNotification() 89 balloon->Update(notification); in UpdateNotification() 90 notification_ui_->Update(balloon); in UpdateNotification() 96 Balloon* balloon = FindBalloon(notification); in UpdateAndShowNotification() local 97 if (!balloon) in UpdateAndShowNotification() 99 balloon->Update(notification); in UpdateAndShowNotification() [all …]
|
D | notification_panel.cc | 65 chromeos::BalloonViewImpl* GetBalloonViewOf(const Balloon* balloon) { in GetBalloonViewOf() argument 66 return static_cast<chromeos::BalloonViewImpl*>(balloon->view()); in GetBalloonViewOf() 285 void Add(Balloon* balloon) { in Add() argument 286 BalloonViewImpl* view = GetBalloonViewOf(balloon); in Add() 287 GetContainerFor(balloon)->AddChildView(view); in Add() 291 bool Update(Balloon* balloon) { in Update() argument 292 BalloonViewImpl* view = GetBalloonViewOf(balloon); in Update() 309 BalloonViewImpl* Remove(Balloon* balloon) { in Remove() argument 310 BalloonViewImpl* view = GetBalloonViewOf(balloon); in Remove() 311 GetContainerFor(balloon)->RemoveChildView(view); in Remove() [all …]
|
D | desktop_notifications_unittest.cc | 20 virtual void Add(Balloon* balloon) {} in Add() argument 21 virtual bool Update(Balloon* balloon) { return false; } in Update() argument 22 virtual void Remove(Balloon* balloon) {} in Remove() argument 23 virtual void Show(Balloon* balloon) {} in Show() argument 24 virtual void ResizeNotification(Balloon* balloon, in ResizeNotification() argument 50 Balloon* balloon = BalloonCollectionImpl::MakeBalloon(notification, profile); in MakeBalloon() local 51 balloon->set_view(new MockBalloonView(balloon)); in MakeBalloon() 52 balloons_.insert(balloon); in MakeBalloon() 53 return balloon; in MakeBalloon() 265 Balloon* balloon = (*balloon_collection_->balloons().begin()); in TEST_F() local [all …]
|
D | notification_panel.h | 92 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, 130 void ScrollBalloonToVisible(Balloon* balloon); 146 void StartStaleTimer(Balloon* balloon);
|
D | balloon_collection_impl.h | 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);
|
D | balloon_view_host.h | 26 explicit BalloonViewHost(Balloon* balloon) : ::BalloonViewHost(balloon) {} in BalloonViewHost() argument
|
D | balloon_view.cc | 213 void BalloonViewImpl::Show(Balloon* balloon) { in Show() argument 214 balloon_ = balloon; in Show() 215 html_contents_ = new BalloonViewHost(balloon); in Show() 220 NotificationType::NOTIFY_BALLOON_DISCONNECTED, Source<Balloon>(balloon)); in Show()
|
/external/chromium/chrome/browser/ui/cocoa/notifications/ |
D | balloon_controller_unittest.mm | 7 #include "chrome/browser/notifications/balloon.h" 17 // Subclass balloon controller and mock out the initialization of the RVH. 29 // Use a dummy balloon collection for testing. 37 virtual void ResizeBalloon(Balloon* balloon, const gfx::Size& size) {} 82 scoped_ptr<Balloon> balloon( 84 balloon->SetPosition(gfx::Point(1, 1), false); 85 balloon->set_content_size(gfx::Size(100, 100)); 88 [[TestBalloonController alloc] initWithBalloon:balloon.get()]; 98 scoped_ptr<Balloon> balloon( 100 balloon->SetPosition(gfx::Point(1, 1), false); [all …]
|
D | balloon_controller.mm | 12 #include "chrome/browser/notifications/balloon.h" 45 - (id)initWithBalloon:(Balloon*)balloon { 50 balloon_ = balloon; 52 menuModel_.reset(new NotificationOptionsMenuModel(balloon)); 96 // Set the initial position without animating (the balloon should not 166 // Otherwise the script can close the notification and underlying balloon 196 // Returns the total width the view should be to accommodate the balloon. 202 // Returns the total height the view should be to accommodate the balloon.
|
D | balloon_view_host_mac.mm | 10 BalloonViewHost::BalloonViewHost(Balloon* balloon) 11 : BalloonHost(balloon) {
|
D | balloon_view_bridge.mm | 36 void BalloonViewBridge::Show(Balloon* balloon) { 37 controller_ = [[BalloonController alloc] initWithBalloon:balloon];
|
/external/chromium/chrome/browser/notifications/ |
D | balloon_collection_base.cc | 19 void BalloonCollectionBase::Add(Balloon* balloon) { in Add() argument 20 balloons_.push_back(balloon); in Add() 23 void BalloonCollectionBase::Remove(Balloon* balloon) { in Remove() argument 25 scoped_ptr<Balloon> to_delete(balloon); in Remove() 28 if ((*iter) == balloon) { in Remove()
|
D | balloon_collection_win.cc | 13 Balloon* balloon = new Balloon(notification, profile, this); in MakeBalloon() local 14 balloon->set_view(new BalloonViewImpl(this)); in MakeBalloon() 16 balloon->set_content_size(size); in MakeBalloon() 17 return balloon; in MakeBalloon()
|
D | balloon_collection_linux.cc | 18 Balloon* balloon = new Balloon(notification, profile, this); in MakeBalloon() local 20 balloon->set_view(new BalloonViewImpl(this)); in MakeBalloon() 22 balloon->set_content_size(size); in MakeBalloon() 23 return balloon; in MakeBalloon()
|
D | notification_options_menu_model.cc | 41 CornerSelectionMenuModel::CornerSelectionMenuModel(Balloon* balloon) in CornerSelectionMenuModel() argument 43 balloon_(balloon) { in CornerSelectionMenuModel() 112 NotificationOptionsMenuModel::NotificationOptionsMenuModel(Balloon* balloon) in NotificationOptionsMenuModel() argument 114 balloon_(balloon) { in NotificationOptionsMenuModel() 115 const Notification& notification = balloon->notification(); in NotificationOptionsMenuModel() 140 corner_menu_model_.reset(new CornerSelectionMenuModel(balloon)); in NotificationOptionsMenuModel()
|
D | balloon_collection_mac.mm | 13 Balloon* balloon = new Balloon(notification, profile, this); 14 balloon->set_view(new BalloonViewBridge()); 16 balloon->set_content_size(size); 17 return balloon;
|
D | notification_test_util.h | 78 explicit MockBalloonView(Balloon * balloon) : in MockBalloonView() argument 79 balloon_(balloon) {} in MockBalloonView() 82 virtual void Show(Balloon* balloon) {} in Show() argument
|
D | balloon_collection_base.h | 30 virtual void Add(Balloon* balloon); 34 virtual void Remove(Balloon* balloon);
|
D | desktop_notifications_unittest.cc | 45 Balloon* balloon = BalloonCollectionImpl::MakeBalloon(notification, profile); in MakeBalloon() local 46 balloon->set_view(new MockBalloonView(balloon)); in MakeBalloon() 47 balloons_.push_back(balloon); in MakeBalloon() 48 return balloon; in MakeBalloon() 331 Balloon* balloon = (*balloon_collection_->balloons().begin()); in TEST_F() local 332 GURL data_url = balloon->notification().content_url(); in TEST_F()
|
D | notification_options_menu_model.h | 16 explicit CornerSelectionMenuModel(Balloon* balloon); 37 explicit NotificationOptionsMenuModel(Balloon* balloon);
|
/external/chromium/chrome/browser/ui/gtk/notifications/ |
D | balloon_view_host_gtk.cc | 12 BalloonViewHost::BalloonViewHost(Balloon* balloon) in BalloonViewHost() argument 13 : BalloonHost(balloon), in BalloonViewHost()
|
D | balloon_view_gtk.cc | 208 void BalloonViewImpl::Show(Balloon* balloon) { in Show() argument 209 theme_service_ = GtkThemeService::GetFrom(balloon->profile()); in Show() 213 balloon->notification().display_source()); in Show() 219 balloon_ = balloon; in Show() 227 html_contents_.reset(new BalloonViewHost(balloon)); in Show() 340 NotificationType::NOTIFY_BALLOON_DISCONNECTED, Source<Balloon>(balloon)); in Show()
|
/external/chromium/chrome/browser/ui/views/notifications/ |
D | balloon_view_host.cc | 52 BalloonViewHost::BalloonViewHost(Balloon* balloon) in BalloonViewHost() argument 53 : BalloonHost(balloon) { in BalloonViewHost()
|
D | balloon_view.cc | 279 void BalloonViewImpl::Show(Balloon* balloon) { in Show() argument 282 balloon_ = balloon; in Show() 289 balloon->notification().display_source()); in Show() 316 html_contents_.reset(new BalloonViewHost(balloon)); in Show() 362 NotificationType::NOTIFY_BALLOON_DISCONNECTED, Source<Balloon>(balloon)); in Show()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_crash_recovery_browsertest.cc | 43 Balloon* balloon = GetNotificationDelegate(index); in AcceptNotification() local 44 ASSERT_TRUE(balloon); in AcceptNotification() 45 balloon->OnClick(); in AcceptNotification() 50 Balloon* balloon = GetNotificationDelegate(index); in CancelNotification() local 53 manager->CancelById(balloon->notification().notification_id()); in CancelNotification()
|