Home | History | Annotate | Download | only in tray

Lines Matching defs:bubble

77 // instances for a bubble.
81 // Takes ownership of |bubble|.
82 explicit SystemBubbleWrapper(SystemTrayBubble* bubble)
83 : bubble_(bubble), is_persistent_(false) {}
85 // Initializes the bubble view and creates |bubble_wrapper_|.
95 // The system bubble should not have an arrow.
108 SystemTrayBubble* bubble() const { return bubble_.get(); }
267 system_bubble_->bubble()->StartAutoCloseTimer(close_delay);
272 system_bubble_->bubble()->StartAutoCloseTimer(close_delay);
296 // Only update the notification bubble if visible (i.e. don't create one).
330 notification_bubble_->bubble()->SetVisible(!hide_notifications);
335 return system_bubble_.get() && system_bubble_->bubble()->ShouldShowShelf();
349 return system_bubble_->bubble();
354 system_bubble_->bubble()->IsVisible()) ||
356 notification_bubble_->bubble()->IsVisible()));
369 system_bubble_->bubble()->Close();
380 notification_bubble_->bubble()->Close();
459 // Destroy any existing bubble and create a new one.
464 // Destroy the notification bubble here so that it doesn't get rebuilt
468 system_bubble_->bubble()->UpdateView(items, bubble_type);
472 system_bubble_->bubble()->FocusDefaultIfNeeded();
492 // This is the case where a volume control or brightness control bubble
503 // they are shown in a bubble by themselves.
507 SystemTrayBubble* bubble = new SystemTrayBubble(this, items, bubble_type);
508 system_bubble_.reset(new SystemBubbleWrapper(bubble));
532 // Only show the notification bubble if we have notifications.
537 // Destroy the existing bubble before constructing a new one.
613 // Destroy any existing bubble so that it is rebuilt correctly.
615 // Rebuild any notification bubble.
659 system_bubble_->bubble()->DestroyItemViews();
660 system_bubble_->bubble()->BubbleViewDestroyed();
666 system_bubble_->bubble()->StopAutoCloseTimer();
671 system_bubble_->bubble()->RestartAutoCloseTimer();
701 system_bubble_->bubble()->Close();
721 // When closing a system bubble with the alternate shelf layout, we need to