Chromium Code Reviews| Index: ash/common/system/tray/tray_background_view.cc |
| diff --git a/ash/common/system/tray/tray_background_view.cc b/ash/common/system/tray/tray_background_view.cc |
| index 3e26c5069993d2872ef9ae0d0f4602002b223bb3..3c9e435a2ad8261ed58e4c47b1d5bcade03bd346 100644 |
| --- a/ash/common/system/tray/tray_background_view.cc |
| +++ b/ash/common/system/tray/tray_background_view.cc |
| @@ -186,6 +186,10 @@ void TrayBackgroundView::TrayContainer::ChildPreferredSizeChanged( |
| PreferredSizeChanged(); |
| } |
| +gfx::Insets TrayBackgroundView::TrayContainer::GetInsets() const { |
| + return views::View::GetInsets() + insets_; |
|
xiyuan
2016/08/05 16:18:59
Can we use |insets_| and create a proper empty bor
yoshiki
2016/08/09 16:43:04
Done.
|
| +} |
| + |
| void TrayBackgroundView::TrayContainer::ChildVisibilityChanged(View* child) { |
| PreferredSizeChanged(); |
| } |