/external/chromium/chrome/browser/notifications/ |
desktop_notifications_unittest.cc | 28 // balloon collection. 42 Balloon* MockBalloonCollection::MakeBalloon(const Notification& notification, 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; 51 void MockBalloonCollection::OnBalloonClosed(Balloon* source) 331 Balloon* balloon = (*balloon_collection_->balloons().begin()); local [all...] |
balloon.h | 17 class Balloon; 24 // Interface for a view that displays a balloon. 30 virtual void Show(Balloon* balloon) = 0; 35 // Reposition the view to match the position of its balloon. 49 class Balloon { 51 Balloon(const Notification& notification, 54 virtual ~Balloon(); 78 // Request a new content size for this balloon. This will get passed 79 // to the balloon collection for checking against available space an [all...] |
balloon_collection_impl.h | 29 // A balloon collection represents a set of notification balloons being 49 virtual void ResizeBalloon(Balloon* balloon, const gfx::Size& size); 52 virtual void OnBalloonClosed(Balloon* source); 82 // Refresh the work area and balloon placement. 97 // allowed per balloon. 110 // Should not be used to place a balloon -- only to call NextPosition(). 113 // Compute the position for the next balloon. 116 // for each next balloon. 134 // Minimum and maximum size of balloon content [all...] |
balloon_host.h | 19 class Balloon; 31 explicit BalloonHost(Balloon* balloon); 36 // Stops showing the balloon. 134 // Called to send an event that the balloon has been disconnected from 138 // Non-owned pointer to the associated balloon. 139 Balloon* balloon_; 144 // Indicates whether we should notify about disconnection of this balloon. 149 // Site instance for the balloon/profile, to be used for opening new links.
|
balloon_host.cc | 8 #include "chrome/browser/notifications/balloon.h" 27 BalloonHost::BalloonHost(Balloon* balloon) 29 balloon_(balloon),
|
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...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
XmlKeyboardLoader.java | 75 * Attribute tag of the balloon background image for key press. Defined 81 * Attribute tag of the popup balloon background image for key press or 100 * Attribute tag of the color to draw key's label in the popup balloon. 219 /** Attribute tag of the key's behavior for balloon. */ 220 private static final String XMLATTR_KEY_BALLOON = "balloon"; 301 boolean balloon; field in class:XmlKeyboardLoader.KeyCommonAttributes 305 balloon = true; 314 balloon = getBoolean(mXrp, XMLATTR_KEY_BALLOON, defAttr.balloon); 550 attrKeys.repeat, attrKeys.balloon); [all...] |
SoftKeyToggle.java | 269 public void setStateFlags(boolean repeat, boolean balloon) { 276 if (balloon) {
|
/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/chrome/browser/chromeos/notifications/ |
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/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/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.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/chrome/browser/automation/ |
automation_provider_observers.cc | 36 #include "chrome/browser/notifications/balloon.h" 2146 DictionaryValue* balloon = new DictionaryValue; local [all...] |