| Index: ui/views/bubble/tray_bubble_view.h
|
| diff --git a/ui/views/bubble/tray_bubble_view.h b/ui/views/bubble/tray_bubble_view.h
|
| index 8de9c3053ed8a920002c80f5dd90987bff1ae8f3..ce396c9054807e5cbf44f8d220f40e55ff02f994 100644
|
| --- a/ui/views/bubble/tray_bubble_view.h
|
| +++ b/ui/views/bubble/tray_bubble_view.h
|
| @@ -28,8 +28,8 @@ class TrayBubbleContentMask;
|
| // Ash status area). Mostly this handles custom anchor location and arrow and
|
| // border rendering. This also has its own delegate for handling mouse events
|
| // and other implementation specific details.
|
| -class VIEWS_EXPORT TrayBubbleView : public views::BubbleDialogDelegateView,
|
| - public views::MouseWatcherListener {
|
| +class VIEWS_EXPORT TrayBubbleView : public BubbleDialogDelegateView,
|
| + public MouseWatcherListener {
|
| public:
|
| // AnchorAlignment determines to which side of the anchor the bubble will
|
| // align itself.
|
| @@ -93,6 +93,9 @@ class VIEWS_EXPORT TrayBubbleView : public views::BubbleDialogDelegateView,
|
|
|
| ~TrayBubbleView() override;
|
|
|
| + // Returns whether a tray bubble is active.
|
| + static bool IsATrayBubbleOpen();
|
| +
|
| // Sets up animations, and show the bubble. Must occur after CreateBubble()
|
| // is called.
|
| void InitializeAndShowBubble();
|
| @@ -130,6 +133,7 @@ class VIEWS_EXPORT TrayBubbleView : public views::BubbleDialogDelegateView,
|
| // Overridden from views::BubbleDialogDelegateView.
|
| void OnBeforeBubbleWidgetInit(Widget::InitParams* params,
|
| Widget* bubble_widget) const override;
|
| + void OnWidgetClosing(Widget* widget) override;
|
|
|
| // Overridden from views::View.
|
| gfx::Size GetPreferredSize() const override;
|
|
|