Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1341)

Unified Diff: ash/wm/panels/panel_frame_view.cc

Issue 1429793002: Make panel window's header color customizable in Ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/wm/panels/panel_frame_view.cc
diff --git a/ash/wm/panels/panel_frame_view.cc b/ash/wm/panels/panel_frame_view.cc
index 733af9adfbd43e1fb57901a72587359d934b31d3..87e6f3479571b8316e6792390c225d4c8492ac19 100644
--- a/ash/wm/panels/panel_frame_view.cc
+++ b/ash/wm/panels/panel_frame_view.cc
@@ -32,6 +32,11 @@ PanelFrameView::PanelFrameView(views::Widget* frame, FrameType frame_type)
PanelFrameView::~PanelFrameView() {
}
+void PanelFrameView::SetFrameColors(SkColor active_frame_color,
+ SkColor inactive_frame_color) {
+ header_painter_->SetFrameColors(active_frame_color, inactive_frame_color);
+}
+
const char* PanelFrameView::GetClassName() const {
return kViewClassName;
}
« no previous file with comments | « ash/wm/panels/panel_frame_view.h ('k') | chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698