diff options
author | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-21 14:30:25 +0000 |
---|---|---|
committer | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-21 14:30:25 +0000 |
commit | 7cccda1dbff37f3740ca5c5e06e4898db83e7722 (patch) | |
tree | 6bccd830ba0fc3f2fdf395fff1e2b0e44d19fb6d /apps/app_window.h | |
parent | 81f89e978e8d99c44027be184e48d3c86a498e4b (diff) | |
download | chromium_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.h | 3 |
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 |