OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_HEADER_PAINTER_ASH_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_HEADER_PAINTER_ASH_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_HEADER_PAINTER_ASH_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_HEADER_PAINTER_ASH_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/common/frame/header_painter.h" | 10 #include "ash/common/frame/header_painter.h" |
11 #include "base/compiler_specific.h" // override | 11 #include "base/compiler_specific.h" // override |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "ui/gfx/animation/animation_delegate.h" | 13 #include "ui/gfx/animation/animation_delegate.h" |
14 | 14 |
15 class BrowserNonClientFrameViewAsh; | 15 class BrowserNonClientFrameViewAsh; |
16 class BrowserView; | 16 class BrowserView; |
17 | 17 |
18 namespace ash { | 18 namespace ash { |
19 class FrameCaptionButtonContainerView; | 19 class FrameCaptionButtonContainerView; |
20 } | 20 } |
21 | 21 |
22 namespace gfx { | 22 namespace gfx { |
23 class ImageSkia; | |
24 class Rect; | 23 class Rect; |
25 class SlideAnimation; | 24 class SlideAnimation; |
26 } | 25 } |
27 namespace views { | 26 namespace views { |
28 class View; | 27 class View; |
29 class Widget; | 28 class Widget; |
30 } | 29 } |
31 | 30 |
32 // Helper class for painting the browser window header. | 31 // Helper class for painting the browser window header. |
33 class BrowserHeaderPainterAsh : public ash::HeaderPainter, | 32 class BrowserHeaderPainterAsh : public ash::HeaderPainter, |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 94 |
96 // Whether the header should be painted as active. | 95 // Whether the header should be painted as active. |
97 Mode mode_; | 96 Mode mode_; |
98 | 97 |
99 std::unique_ptr<gfx::SlideAnimation> activation_animation_; | 98 std::unique_ptr<gfx::SlideAnimation> activation_animation_; |
100 | 99 |
101 DISALLOW_COPY_AND_ASSIGN(BrowserHeaderPainterAsh); | 100 DISALLOW_COPY_AND_ASSIGN(BrowserHeaderPainterAsh); |
102 }; | 101 }; |
103 | 102 |
104 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_HEADER_PAINTER_ASH_H_ | 103 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_HEADER_PAINTER_ASH_H_ |
OLD | NEW |