Commit 112e1b6c authored by Jazz Xu's avatar Jazz Xu Committed by Commit Bot

GMC: Change opacity of vertical separator.

Bug: 1057301
Change-Id: Idda7aa88e16bbf2caf3a55bca1d0017979a3243b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159866Reviewed-by: default avatarTommy Steimel <steimel@chromium.org>
Commit-Queue: Jazz Xu <jazzhsu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762483}
parent cc361a9d
......@@ -590,6 +590,7 @@ void MediaNotificationViewImpl::UpdateForegroundColor() {
GetMediaNotificationBackground()->GetBackgroundColor(*this);
const SkColor foreground =
GetMediaNotificationBackground()->GetForegroundColor(*this);
const SkColor separator_color = SkColorSetA(foreground, 0x1F);
title_label_->SetEnabledColor(foreground);
artist_label_->SetEnabledColor(foreground);
......@@ -604,7 +605,7 @@ void MediaNotificationViewImpl::UpdateForegroundColor() {
header_row_->SetBackgroundColor(background);
pip_button_separator_view_->children().front()->SetBackground(
views::CreateSolidBackground(foreground));
views::CreateSolidBackground(separator_color));
// Update play/pause button images.
views::SetImageFromVectorIconWithColor(
......
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