summaryrefslogtreecommitdiffstats
path: root/apps/app_window.h
diff options
context:
space:
mode:
authorbenwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-21 14:30:25 +0000
committerbenwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-21 14:30:25 +0000
commit7cccda1dbff37f3740ca5c5e06e4898db83e7722 (patch)
tree6bccd830ba0fc3f2fdf395fff1e2b0e44d19fb6d /apps/app_window.h
parent81f89e978e8d99c44027be184e48d3c86a498e4b (diff)
downloadchromium_src-7cccda1dbff37f3740ca5c5e06e4898db83e7722.zip
chromium_src-7cccda1dbff37f3740ca5c5e06e4898db83e7722.tar.gz
chromium_src-7cccda1dbff37f3740ca5c5e06e4898db83e7722.tar.bz2
Add frame color option to packaged app windows.
If app windows are created with a frame color option, that color is used for the frame. If no color is supplied a native style look is used instead. This is currently implemented on linux aura and windows only. This change also removes the --apps-use-native-frame flag on windows. BUG=339558 Review URL: https://codereview.chromium.org/166443004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps/app_window.h')
-rw-r--r--apps/app_window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_window.h b/apps/app_window.h
index 46933c9..9551539 100644
--- a/apps/app_window.h
+++ b/apps/app_window.h
@@ -157,6 +157,9 @@ class AppWindow : public content::NotificationObserver,
WindowType window_type;
Frame frame;
+
+ bool has_frame_color;
+ SkColor frame_color;
bool transparent_background; // Only supported on ash.
// Specify the initial content bounds of the window (excluding any window