diff options
author | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-19 05:48:19 +0000 |
---|---|---|
committer | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-19 05:49:48 +0000 |
commit | b0fc9e80344ba373e14844d5a9270a5588281b68 (patch) | |
tree | 584af849f9a731c091cb03cb238c47348c599059 /chrome/browser/ui/views/frame/browser_header_painter_ash.h | |
parent | 6fa2024510901e0321442b562c3bcfffe7066a36 (diff) | |
download | chromium_src-b0fc9e80344ba373e14844d5a9270a5588281b68.zip chromium_src-b0fc9e80344ba373e14844d5a9270a5588281b68.tar.gz chromium_src-b0fc9e80344ba373e14844d5a9270a5588281b68.tar.bz2 |
Introduce new WebApp header style for hosted apps and fizzy apps on ash.
The new header style currently has a back button and a title, as well as
the normal caption buttons (minimize, maximize / restore, close). The
new header style is only used in --enable-streamlined-hosted-apps is
enabled.
BUG=368372
Review URL: https://codereview.chromium.org/441803004
Cr-Commit-Position: refs/heads/master@{#290502}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290502 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views/frame/browser_header_painter_ash.h')
-rw-r--r-- | chrome/browser/ui/views/frame/browser_header_painter_ash.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/ui/views/frame/browser_header_painter_ash.h b/chrome/browser/ui/views/frame/browser_header_painter_ash.h index fbc4302..dc5e7e1 100644 --- a/chrome/browser/ui/views/frame/browser_header_painter_ash.h +++ b/chrome/browser/ui/views/frame/browser_header_painter_ash.h @@ -49,6 +49,7 @@ class BrowserHeaderPainterAsh : public ash::HeaderPainter, virtual int GetHeaderHeightForPainting() const OVERRIDE; virtual void SetHeaderHeightForPainting(int height) OVERRIDE; virtual void SchedulePaintForTitle() OVERRIDE; + virtual void UpdateLeftViewXInset(int left_view_x_inset) OVERRIDE; private: // gfx::AnimationDelegate override: @@ -102,6 +103,7 @@ class BrowserHeaderPainterAsh : public ash::HeaderPainter, views::View* view_; views::View* window_icon_; + int window_icon_x_inset_; ash::FrameCaptionButtonContainerView* caption_button_container_; int painted_height_; |