Commit ac6c324a authored by Yulun Wu's avatar Yulun Wu Committed by Commit Bot

Update overview button color for light mode.

Bug: 1110757
Change-Id: I415313e4f1b9279ac4df68243a6b65f12055c092
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2378801Reviewed-by: default avatarToni Baržić <tbarzic@chromium.org>
Reviewed-by: default avatarYulun Wu <yulunwu@chromium.org>
Reviewed-by: default avatarJenny Zhang <jennyz@chromium.org>
Commit-Queue: Yulun Wu <yulunwu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#802458}
parent f987fe47
......@@ -10,6 +10,7 @@
#include "ash/session/session_controller_impl.h"
#include "ash/shell.h"
#include "ash/strings/grit/ash_strings.h"
#include "ash/style/ash_color_provider.h"
#include "ash/system/tray/tray_constants.h"
#include "ash/system/tray/tray_container.h"
#include "ash/wm/mru_window_tracker.h"
......@@ -36,7 +37,10 @@ OverviewButtonTray::OverviewButtonTray(Shelf* shelf)
icon_(new views::ImageView()),
scoped_session_observer_(this) {
gfx::ImageSkia image = gfx::CreateVectorIcon(
kShelfOverviewIcon, ShelfConfig::Get()->shelf_icon_color());
kShelfOverviewIcon,
AshColorProvider::Get()->GetContentLayerColor(
AshColorProvider::ContentLayerType::kButtonIconColor,
AshColorProvider::AshColorMode::kDark));
icon_->SetImage(image);
const int vertical_padding = (kTrayItemSize - image.height()) / 2;
const int horizontal_padding = (kTrayItemSize - image.width()) / 2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment