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 905a083cc86d6abb9895e8576d2b2ef253960cb8..f2b0d808da2335d2dca92c51032642fbc79da4f4 100644 |
--- a/ash/common/system/tray/tray_background_view.h |
+++ b/ash/common/system/tray/tray_background_view.h |
@@ -43,6 +43,8 @@ class ASH_EXPORT TrayBackgroundView : public ActionableView, |
void set_size(const gfx::Size& size) { size_ = size; } |
+ void set_insets(const gfx::Insets& insets) { insets_ = insets; } |
+ |
// views::View: |
gfx::Size GetPreferredSize() const override; |
@@ -52,12 +54,14 @@ class ASH_EXPORT TrayBackgroundView : public ActionableView, |
void ChildVisibilityChanged(View* child) override; |
void ViewHierarchyChanged( |
const ViewHierarchyChangedDetails& details) override; |
+ gfx::Insets GetInsets() const override; |
private: |
void UpdateLayout(); |
ShelfAlignment alignment_; |
gfx::Size size_; |
+ gfx::Insets insets_; |
DISALLOW_COPY_AND_ASSIGN(TrayContainer); |
}; |