| Index: ash/common/system/tray/tray_background_view.h
|
| diff --git a/ash/common/system/tray/tray_background_view.h b/ash/common/system/tray/tray_background_view.h
|
| index 5b6a5a20136835a504f66834bf2b46095fd15b56..4a72dda62f34765ed11392e2b5292618367841dd 100644
|
| --- a/ash/common/system/tray/tray_background_view.h
|
| +++ b/ash/common/system/tray/tray_background_view.h
|
| @@ -111,12 +111,6 @@ class ASH_EXPORT TrayBackgroundView : public ActionableView,
|
| // is in the active state.
|
| void SetContentsBackground(bool draws_active);
|
|
|
| - // Returns the anchor rect for the bubble.
|
| - gfx::Rect GetBubbleAnchorRect(
|
| - views::Widget* anchor_widget,
|
| - views::TrayBubbleView::AnchorType anchor_type,
|
| - views::TrayBubbleView::AnchorAlignment anchor_alignment) const;
|
| -
|
| // Returns the bubble anchor alignment based on |shelf_alignment_|.
|
| views::TrayBubbleView::AnchorAlignment GetAnchorAlignment() const;
|
|
|
| @@ -137,6 +131,13 @@ class ASH_EXPORT TrayBackgroundView : public ActionableView,
|
| // Updates the visibility of this tray's separator.
|
| void SetSeparatorVisibility(bool is_show);
|
|
|
| + // Gets the anchor for bubbles, which is tray_container().
|
| + views::View* GetBubbleAnchor() const;
|
| +
|
| + // Gets additional insets for positioning bubbles relative to
|
| + // tray_container().
|
| + gfx::Insets GetBubbleAnchorInsets() const;
|
| +
|
| protected:
|
| // ActionableView:
|
| std::unique_ptr<views::InkDropMask> CreateInkDropMask() const override;
|
|
|