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_PANELS_PANEL_FRAME_VIEW_H_ | 5 #ifndef ASH_WM_PANELS_PANEL_FRAME_VIEW_H_ |
6 #define ASH_WM_PANELS_PANEL_FRAME_VIEW_H_ | 6 #define ASH_WM_PANELS_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 26 matching lines...) Expand all Loading... |
37 // Overridden from views::View: | 37 // Overridden from views::View: |
38 virtual const char* GetClassName() const OVERRIDE; | 38 virtual const char* GetClassName() const OVERRIDE; |
39 | 39 |
40 private: | 40 private: |
41 void InitFramePainter(); | 41 void InitFramePainter(); |
42 | 42 |
43 // Overridden from views::NonClientFrameView: | 43 // Overridden from views::NonClientFrameView: |
44 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; | 44 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; |
45 virtual gfx::Rect GetWindowBoundsForClientBounds( | 45 virtual gfx::Rect GetWindowBoundsForClientBounds( |
46 const gfx::Rect& client_bounds) const OVERRIDE; | 46 const gfx::Rect& client_bounds) const OVERRIDE; |
47 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; | 47 virtual int NonClientHitTest(const gfx::Point& point) const OVERRIDE; |
48 virtual void GetWindowMask(const gfx::Size& size, | 48 virtual void GetWindowMask(const gfx::Size& size, |
49 gfx::Path* window_mask) OVERRIDE; | 49 gfx::Path* window_mask) OVERRIDE; |
50 virtual void ResetWindowControls() OVERRIDE; | 50 virtual void ResetWindowControls() OVERRIDE; |
51 virtual void UpdateWindowIcon() OVERRIDE; | 51 virtual void UpdateWindowIcon() OVERRIDE; |
52 virtual void UpdateWindowTitle() OVERRIDE; | 52 virtual void UpdateWindowTitle() OVERRIDE; |
53 | 53 |
54 // Overridden from views::View: | 54 // Overridden from views::View: |
55 virtual gfx::Size GetMinimumSize() OVERRIDE; | 55 virtual gfx::Size GetMinimumSize() OVERRIDE; |
56 virtual void Layout() OVERRIDE; | 56 virtual void Layout() OVERRIDE; |
57 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 57 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
(...skipping 11 matching lines...) Expand all Loading... |
69 views::ImageButton* window_icon_; | 69 views::ImageButton* window_icon_; |
70 gfx::Rect client_view_bounds_; | 70 gfx::Rect client_view_bounds_; |
71 const gfx::Font title_font_; | 71 const gfx::Font title_font_; |
72 | 72 |
73 DISALLOW_COPY_AND_ASSIGN(PanelFrameView); | 73 DISALLOW_COPY_AND_ASSIGN(PanelFrameView); |
74 }; | 74 }; |
75 | 75 |
76 } | 76 } |
77 | 77 |
78 #endif // ASH_WM_PANELS_PANEL_FRAME_VIEW_H_ | 78 #endif // ASH_WM_PANELS_PANEL_FRAME_VIEW_H_ |
OLD | NEW |