| Index: ash/common/system/tray/tray_details_view.cc
|
| diff --git a/ash/common/system/tray/tray_details_view.cc b/ash/common/system/tray/tray_details_view.cc
|
| index ec4c71a5df71eec1c5c60eeaad7fe3c72b354e36..2f00e57c87f304120c8781293ffcb5acf47ad03d 100644
|
| --- a/ash/common/system/tray/tray_details_view.cc
|
| +++ b/ash/common/system/tray/tray_details_view.cc
|
| @@ -227,24 +227,6 @@ const int kTitleRowPaddingTop = kTitleRowVerticalPadding;
|
| const int kTitleRowPaddingBottom =
|
| kTitleRowVerticalPadding - kTitleRowProgressBarHeight;
|
|
|
| -class ScrollSeparator : public views::View {
|
| - public:
|
| - ScrollSeparator() {}
|
| -
|
| - ~ScrollSeparator() override {}
|
| -
|
| - private:
|
| - // views::View:
|
| - void OnPaint(gfx::Canvas* canvas) override {
|
| - canvas->FillRect(gfx::Rect(0, height() / 2, width(), 1), kBorderLightColor);
|
| - }
|
| - gfx::Size GetPreferredSize() const override {
|
| - return gfx::Size(1, kTrayPopupScrollSeparatorHeight);
|
| - }
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(ScrollSeparator);
|
| -};
|
| -
|
| } // namespace
|
|
|
| TrayDetailsView::TrayDetailsView(SystemTrayItem* owner)
|
| @@ -321,14 +303,6 @@ void TrayDetailsView::CreateScrollableList() {
|
| box_layout_->SetFlexForView(scroller_, 1);
|
| }
|
|
|
| -void TrayDetailsView::AddScrollSeparator() {
|
| - DCHECK(scroll_content_);
|
| - // Do not draw the separator if it is the very first item
|
| - // in the scrollable list.
|
| - if (scroll_content_->has_children())
|
| - scroll_content_->AddChildView(new ScrollSeparator);
|
| -}
|
| -
|
| void TrayDetailsView::Reset() {
|
| RemoveAllChildViews(true);
|
| scroller_ = nullptr;
|
|
|