OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ASH_WM_PANEL_FRAME_VIEW_H_ | 5 #ifndef ASH_WM_PANEL_FRAME_VIEW_H_ |
6 #define ASH_WM_PANEL_FRAME_VIEW_H_ | 6 #define ASH_WM_PANEL_FRAME_VIEW_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "ui/aura/aura_export.h" | 10 #include "ui/aura/aura_export.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 gfx::Path* window_mask) OVERRIDE; | 35 gfx::Path* window_mask) OVERRIDE; |
36 virtual void ResetWindowControls() OVERRIDE; | 36 virtual void ResetWindowControls() OVERRIDE; |
37 virtual void UpdateWindowIcon() OVERRIDE; | 37 virtual void UpdateWindowIcon() OVERRIDE; |
38 | 38 |
39 // Overridden from views::View: | 39 // Overridden from views::View: |
40 virtual void Layout() OVERRIDE; | 40 virtual void Layout() OVERRIDE; |
41 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 41 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
42 | 42 |
43 // Overridden from views::ButtonListener: | 43 // Overridden from views::ButtonListener: |
44 virtual void ButtonPressed(views::Button* sender, | 44 virtual void ButtonPressed(views::Button* sender, |
45 const views::Event& event) OVERRIDE; | 45 const ui::Event& event) OVERRIDE; |
46 | 46 |
47 // Child View class describing the panel's title bar behavior | 47 // Child View class describing the panel's title bar behavior |
48 // and buttons, owned by the view hierarchy | 48 // and buttons, owned by the view hierarchy |
49 scoped_ptr<FramePainter> frame_painter_; | 49 scoped_ptr<FramePainter> frame_painter_; |
50 views::ImageButton* close_button_; | 50 views::ImageButton* close_button_; |
51 views::ImageButton* minimize_button_; | 51 views::ImageButton* minimize_button_; |
52 gfx::Rect client_view_bounds_; | 52 gfx::Rect client_view_bounds_; |
53 | 53 |
54 DISALLOW_COPY_AND_ASSIGN(PanelFrameView); | 54 DISALLOW_COPY_AND_ASSIGN(PanelFrameView); |
55 }; | 55 }; |
56 | 56 |
57 } | 57 } |
58 | 58 |
59 #endif // ASH_WM_PANEL_FRAME_VIEW_H_ | 59 #endif // ASH_WM_PANEL_FRAME_VIEW_H_ |
OLD | NEW |