| Index: ash/system/tray/tray_details_view.cc
|
| diff --git a/ash/system/tray/tray_details_view.cc b/ash/system/tray/tray_details_view.cc
|
| index 56f24b140d9bd52ed2e90bbbc4ff07c1c5efe7e2..b0e6690d8c961d8f88ba0552c922abf2631659e2 100644
|
| --- a/ash/system/tray/tray_details_view.cc
|
| +++ b/ash/system/tray/tray_details_view.cc
|
| @@ -26,6 +26,7 @@
|
| #include "ui/gfx/paint_vector_icon.h"
|
| #include "ui/gfx/skia_paint_util.h"
|
| #include "ui/gfx/vector_icon_types.h"
|
| +#include "ui/native_theme/native_theme.h"
|
| #include "ui/views/background.h"
|
| #include "ui/views/border.h"
|
| #include "ui/views/controls/image_view.h"
|
| @@ -244,7 +245,8 @@ TrayDetailsView::TrayDetailsView(SystemTrayItem* owner)
|
| tri_view_(nullptr),
|
| back_button_(nullptr) {
|
| SetLayoutManager(box_layout_);
|
| - set_background(views::Background::CreateSolidBackground(kBackgroundColor));
|
| + set_background(views::Background::CreateThemedSolidBackground(
|
| + this, ui::NativeTheme::kColorId_BubbleBackground));
|
| }
|
|
|
| TrayDetailsView::~TrayDetailsView() {}
|
| @@ -301,8 +303,8 @@ void TrayDetailsView::CreateScrollableList() {
|
| // Make the |scroller_| have a layer to clip |scroll_content_|'s children.
|
| // TODO(varkha): Make the sticky rows work with EnableViewPortLayer().
|
| scroller_->SetPaintToLayer();
|
| - scroller_->set_background(
|
| - views::Background::CreateSolidBackground(kBackgroundColor));
|
| + scroller_->set_background(views::Background::CreateThemedSolidBackground(
|
| + scroller_, ui::NativeTheme::kColorId_BubbleBackground));
|
| scroller_->layer()->SetMasksToBounds(true);
|
|
|
| AddChildView(scroller_);
|
|
|