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 b642ca692d688ae12e4acb071bea3796d18a2891..dca7322026239f664eeb32fda213bdafe68931f3 100644 |
--- a/ash/common/system/tray/tray_background_view.h |
+++ b/ash/common/system/tray/tray_background_view.h |
@@ -108,12 +108,6 @@ class ASH_EXPORT TrayBackgroundView : public ActionableView, |
// Creates and sets contents background to |background_|. |
void SetContentsBackground(); |
- // 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; |
+ |
private: |
class TrayWidgetObserver; |