Commit 57700648 authored by Elaine Chien's avatar Elaine Chien Committed by Chromium LUCI CQ

ChromeLabs: Darkmode for relaunch footer

Bug: 1157313
Change-Id: I7a178d3b8dcb87e2e77b4ef74fffb77480200989
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2585713Reviewed-by: default avatarRobert Liao <robliao@chromium.org>
Reviewed-by: default avatarAllen Bauer <kylixrd@chromium.org>
Commit-Queue: Elaine Chien <elainechien@chromium.org>
Cr-Commit-Position: refs/heads/master@{#836187}
parent 3397c26d
...@@ -89,7 +89,8 @@ class ChromeLabsFooter : public views::View { ...@@ -89,7 +89,8 @@ class ChromeLabsFooter : public views::View {
.SetCallback(base::BindRepeating(&chrome::AttemptRestart)) .SetCallback(base::BindRepeating(&chrome::AttemptRestart))
.SetText(base::ASCIIToUTF16("Relaunch")) .SetText(base::ASCIIToUTF16("Relaunch"))
.Build()); .Build());
SetBackground(views::CreateSolidBackground(gfx::kGoogleGrey200)); SetBackground(views::CreateThemedSolidBackground(
this, ui::NativeTheme::kColorId_BubbleFooterBackground));
SetBorder(views::CreateEmptyBorder( SetBorder(views::CreateEmptyBorder(
views::LayoutProvider::Get()->GetInsetsMetric(views::INSETS_DIALOG))); views::LayoutProvider::Get()->GetInsetsMetric(views::INSETS_DIALOG)));
SetProperty( SetProperty(
......
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