Commit f455c1da authored by Matthew Porter's avatar Matthew Porter Committed by Commit Bot

Message View hardcoded color removal

Removed the hardcoded color values of MessageView,
focus_view sets the color appropriately already

Bug: 1056948
Change-Id: I9ed0caf6fed54dd5b0da18925d0a21d978523e9f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2138232
Commit-Queue: Matthew Porter <matt.porter@microsoft.com>
Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
Reviewed-by: default avatarEvan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#758252}
parent 8b86b2d8
...@@ -82,9 +82,6 @@ MessageView::MessageView(const Notification& notification) ...@@ -82,9 +82,6 @@ MessageView::MessageView(const Notification& notification)
views::HighlightPathGenerator::Install( views::HighlightPathGenerator::Install(
this, std::make_unique<HighlightPathGenerator>()); this, std::make_unique<HighlightPathGenerator>());
// TODO(amehfooz): Remove explicit color setting after native theme changes.
focus_ring_->SetColor(gfx::kGoogleBlue500);
// Paint to a dedicated layer to make the layer non-opaque. // Paint to a dedicated layer to make the layer non-opaque.
SetPaintToLayer(); SetPaintToLayer();
layer()->SetFillsBoundsOpaquely(false); layer()->SetFillsBoundsOpaquely(false);
......
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