Index: ash/frame/custom_frame_view_ash.cc |
diff --git a/ash/frame/custom_frame_view_ash.cc b/ash/frame/custom_frame_view_ash.cc |
index e4211e6d50f49adae759156acb3db423a655420e..8f0781db4c4d129d647740eba75689e4717900b2 100644 |
--- a/ash/frame/custom_frame_view_ash.cc |
+++ b/ash/frame/custom_frame_view_ash.cc |
@@ -153,6 +153,8 @@ class CustomFrameViewAsh::HeaderView |
void SizeConstraintsChanged(); |
+ void SetFrameColors(SkColor active_frame_color, SkColor inactive_frame_color); |
+ |
// views::View: |
virtual void Layout() override; |
virtual void OnPaint(gfx::Canvas* canvas) override; |
@@ -271,6 +273,11 @@ void CustomFrameViewAsh::HeaderView::SizeConstraintsChanged() { |
Layout(); |
} |
+void CustomFrameViewAsh::HeaderView::SetFrameColors( |
+ SkColor active_frame_color, SkColor inactive_frame_color) { |
+ header_painter_->SetFrameColors(active_frame_color, inactive_frame_color); |
+} |
+ |
/////////////////////////////////////////////////////////////////////////////// |
// CustomFrameViewAsh::HeaderView, views::View overrides: |
@@ -453,6 +460,11 @@ void CustomFrameViewAsh::InitImmersiveFullscreenControllerForView( |
immersive_fullscreen_controller->Init(header_view_, frame_, header_view_); |
} |
+void CustomFrameViewAsh::SetFrameColors(SkColor active_frame_color, |
+ SkColor inactive_frame_color) { |
+ header_view_->SetFrameColors(active_frame_color, inactive_frame_color); |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// CustomFrameViewAsh, views::NonClientFrameView overrides: |