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

Unified Diff: apps/ui/views/app_window_frame_view.h

Issue 166443004: Add frame color option to packaged app windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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: apps/ui/views/app_window_frame_view.h
diff --git a/apps/ui/views/app_window_frame_view.h b/apps/ui/views/app_window_frame_view.h
index 77c38595aa99188b0389970f2d7a0b8083b0590c..2be6161c9bae0037d695b229beb2e2b0bb6159f4 100644
--- a/apps/ui/views/app_window_frame_view.h
+++ b/apps/ui/views/app_window_frame_view.h
@@ -44,6 +44,7 @@ class AppWindowFrameView : public views::NonClientFrameView,
// which a click is interpreted as a resize for the inner and outer border of
// the window and the lower-right corner resize handle.
void Init(views::Widget* frame,
+ const SkColor& frame_color,
int resize_inside_bounds_size,
int resize_outside_bounds_size,
int resize_outside_scale_for_touch,
@@ -75,6 +76,7 @@ class AppWindowFrameView : public views::NonClientFrameView,
NativeAppWindow* window_;
views::Widget* frame_;
+ SkColor frame_color_;
views::ImageButton* close_button_;
views::ImageButton* maximize_button_;
views::ImageButton* restore_button_;

Powered by Google App Engine
This is Rietveld 408576698