/external/chromium_org/chrome/browser/notifications/ |
desktop_notifications_unittest.cc | 47 // balloon collection. 61 Balloon* MockBalloonCollection::MakeBalloon(const Notification& notification, 63 // Start with a normal balloon but mock out the view. 64 Balloon* balloon = BalloonCollectionImpl::MakeBalloon(notification, profile); local 65 balloon->set_view(new FakeBalloonView(balloon)); 66 balloons_.push_back(balloon); 67 return balloon; 70 void MockBalloonCollection::OnBalloonClosed(Balloon* source) 459 Balloon* balloon = (*balloon_collection_->balloons().begin()); local [all...] |
notification_browsertest.cc | 21 #include "chrome/browser/notifications/balloon.h" 211 const std::deque<Balloon*>& GetActiveBalloons(); 212 void CrashNotification(Balloon* balloon); 278 const std::deque<Balloon*>& NotificationsTest::GetActiveBalloons() { 283 void NotificationsTest::CrashNotification(Balloon* balloon) { 284 content::CrashTab(balloon->balloon_view()->GetHost()->web_contents()); 536 const std::deque<Balloon*>& balloons = GetActiveBalloons(); 538 Balloon* balloon = balloons[0] local 944 Balloon* balloon = balloons[0]; local [all...] |
notification_options_menu_model.cc | 13 #include "chrome/browser/notifications/balloon.h" 48 CornerSelectionMenuModel::CornerSelectionMenuModel(Balloon* balloon) 50 balloon_(balloon) { 133 NotificationOptionsMenuModel::NotificationOptionsMenuModel(Balloon* balloon) 135 balloon_(balloon) { 136 const Notification& notification = balloon->notification(); 164 corner_menu_model_.reset(new CornerSelectionMenuModel(balloon));
|
balloon_collection_impl.cc | 11 #include "chrome/browser/notifications/balloon.h" 31 // The spacing between the balloon and the panel. 35 // Delay from the mouse leaving the balloon collection before 64 Balloon* new_balloon = MakeBalloon(notification, profile); 130 void BalloonCollectionImpl::ResizeBalloon(Balloon* balloon, 132 balloon->set_content_size(Layout::ConstrainToSizeLimits(size)); 141 void BalloonCollectionImpl::OnBalloonClosed(Balloon* source) { 143 // We want to free the balloon when finished. 165 // leaves the balloon area [all...] |
balloon_host.cc | 9 #include "chrome/browser/notifications/balloon.h" 37 BalloonHost::BalloonHost(Balloon* balloon) 38 : balloon_(balloon),
|
/external/chromium/chrome/browser/ui/views/notifications/ |
balloon_view.h | 14 #include "chrome/browser/notifications/balloon.h" 46 // A balloon view is the UI component for a desktop notification toasts. 60 virtual void Show(Balloon* balloon) OVERRIDE; 110 // The height of the balloon's shelf. 114 // The height of the part of the frame around the balloon. 124 // Where the balloon contents should be placed with respect to the top left 128 // Where the balloon contents should be in screen coordinates. 131 // Non-owned pointer to the balloon which owns this object. 132 Balloon* balloon_ [all...] |
balloon_view_host.cc | 7 #include "chrome/browser/notifications/balloon.h" 52 BalloonViewHost::BalloonViewHost(Balloon* balloon) 53 : BalloonHost(balloon) {
|
balloon_view.cc | 11 #include "chrome/browser/notifications/balloon.h" 108 // as it is owned by the balloon. 279 void BalloonViewImpl::Show(Balloon* balloon) { 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 disconnecte [all...] |
/external/chromium_org/chrome/browser/ui/views/notifications/ |
balloon_view_views.h | 10 #include "chrome/browser/notifications/balloon.h" 35 // A balloon view is the UI component for a desktop notification toast. 48 virtual void Show(Balloon* balloon) OVERRIDE; 96 // The height of the balloon's shelf. 100 // The height of the part of the frame around the balloon. 110 // Where the balloon contents should be placed with respect to the top left 114 // Where the balloon contents should be in screen coordinates. 120 // Non-owned pointer to the balloon which owns this object. 121 Balloon* balloon_ [all...] |
balloon_view_views.cc | 99 // We're owned by Balloon and don't want to be deleted by our parent View. 292 void BalloonViewImpl::Show(Balloon* balloon) { 298 balloon_ = balloon; 302 balloon->notification().display_source()); 336 html_contents_.reset(new chromeos::BalloonViewHost(balloon)); 338 html_contents_.reset(new BalloonViewHost(balloon)); 399 content::Source<Balloon>(balloon)); 538 // If the renderer process attached to this balloon is disconnecte [all...] |
/external/chromium/chrome/browser/chromeos/notifications/ |
notification_panel.cc | 29 // Minimum and maximum size of balloon content. 65 chromeos::BalloonViewImpl* GetBalloonViewOf(const Balloon* balloon) { 66 return static_cast<chromeos::BalloonViewImpl*>(balloon->view()); 285 void Add(Balloon* balloon) { 286 BalloonViewImpl* view = GetBalloonViewOf(balloon); 287 GetContainerFor(balloon)->AddChildView(view); 290 // Updates the position of the |balloon|. 291 bool Update(Balloon* balloon) 838 Balloon* balloon = collection->FindBalloon(notification); local [all...] |
balloon_view.cc | 13 #include "chrome/browser/notifications/balloon.h" 197 // as it is owned by the balloon. 213 void BalloonViewImpl::Show(Balloon* balloon) { 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 [all...] |
/external/chromium/chrome/browser/notifications/ |
balloon_collection_impl.cc | 9 #include "chrome/browser/notifications/balloon.h" 25 // Delay from the mouse leaving the balloon collection before 46 Balloon* new_balloon = MakeBalloon(notification, profile); 98 void BalloonCollectionImpl::ResizeBalloon(Balloon* balloon, 100 balloon->set_content_size(Layout::ConstrainToSizeLimits(size)); 109 void BalloonCollectionImpl::OnBalloonClosed(Balloon* source) { 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 t [all...] |
notification_options_menu_model.cc | 41 CornerSelectionMenuModel::CornerSelectionMenuModel(Balloon* balloon) 43 balloon_(balloon) { 112 NotificationOptionsMenuModel::NotificationOptionsMenuModel(Balloon* balloon) 114 balloon_(balloon) { 115 const Notification& notification = balloon->notification(); 140 corner_menu_model_.reset(new CornerSelectionMenuModel(balloon));
|
balloon_host.cc | 8 #include "chrome/browser/notifications/balloon.h" 27 BalloonHost::BalloonHost(Balloon* balloon) 29 balloon_(balloon),
|
/external/chromium/chrome/browser/extensions/ |
extension_crash_recovery_browsertest.cc | 34 Balloon* GetNotificationDelegate(size_t index) { 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 successfull [all...] |
/external/chromium/chrome/browser/ui/gtk/notifications/ |
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) { 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 [all...] |
/external/chromium_org/chrome/browser/ui/gtk/notifications/ |
balloon_view_gtk.cc | 18 #include "chrome/browser/notifications/balloon.h" 133 // Although this may not be the instantaneous size of the balloon if 155 // No need to create a slide animation when this balloon is fading out. 205 void BalloonViewImpl::Show(Balloon* balloon) { 206 theme_service_ = GtkThemeService::GetFrom(balloon->profile()); 210 balloon->notification().display_source()); 216 balloon_ = balloon; 228 // Create a BalloonViewHost to host the HTML contents of this balloon. 229 html_contents_.reset(new BalloonViewHost(balloon)); [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_crash_recovery_browsertest.cc | 10 #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() [all...] |
/external/chromium/chrome/browser/automation/ |
automation_provider_observers.cc | 36 #include "chrome/browser/notifications/balloon.h" 2146 DictionaryValue* balloon = new DictionaryValue; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
Tix.py | 45 BALLOON = 'balloon' 531 class Balloon(TixWidget): 532 """Balloon help widget. 551 """Bind balloon widget to another. 552 One balloon widget may be bound to several widgets at the same time""" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
Tix.py | 45 BALLOON = 'balloon' 531 class Balloon(TixWidget): 532 """Balloon help widget. 551 """Bind balloon widget to another. 552 One balloon widget may be bound to several widgets at the same time""" [all...] |