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 ATHENA_ACTIVITY_ACTIVITY_FRAME_VIEW_H_ | 5 #ifndef ATHENA_ACTIVITY_ACTIVITY_FRAME_VIEW_H_ |
6 #define ATHENA_ACTIVITY_ACTIVITY_FRAME_VIEW_H_ | 6 #define ATHENA_ACTIVITY_ACTIVITY_FRAME_VIEW_H_ |
7 | 7 |
8 #include "athena/wm/public/window_manager_observer.h" | 8 #include "athena/wm/public/window_manager_observer.h" |
9 #include "ui/gfx/insets.h" | 9 #include "ui/gfx/insets.h" |
10 #include "ui/views/window/non_client_view.h" | 10 #include "ui/views/window/non_client_view.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 // views::NonClientFrameView: | 32 // views::NonClientFrameView: |
33 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; | 33 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; |
34 virtual gfx::Rect GetWindowBoundsForClientBounds( | 34 virtual gfx::Rect GetWindowBoundsForClientBounds( |
35 const gfx::Rect& client_bounds) const OVERRIDE; | 35 const gfx::Rect& client_bounds) const OVERRIDE; |
36 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; | 36 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; |
37 virtual void GetWindowMask(const gfx::Size& size, | 37 virtual void GetWindowMask(const gfx::Size& size, |
38 gfx::Path* window_mask) OVERRIDE; | 38 gfx::Path* window_mask) OVERRIDE; |
39 virtual void ResetWindowControls() OVERRIDE; | 39 virtual void ResetWindowControls() OVERRIDE; |
40 virtual void UpdateWindowIcon() OVERRIDE; | 40 virtual void UpdateWindowIcon() OVERRIDE; |
41 virtual void UpdateWindowTitle() OVERRIDE; | 41 virtual void UpdateWindowTitle() OVERRIDE; |
| 42 virtual void SizeConstraintsChanged() OVERRIDE; |
42 | 43 |
43 // views::View: | 44 // views::View: |
44 virtual gfx::Size GetPreferredSize() const OVERRIDE; | 45 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
45 virtual const char* GetClassName() const OVERRIDE; | 46 virtual const char* GetClassName() const OVERRIDE; |
46 virtual void Layout() OVERRIDE; | 47 virtual void Layout() OVERRIDE; |
47 virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; | 48 virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; |
48 | 49 |
49 private: | 50 private: |
50 // WindowManagerObserver: | 51 // WindowManagerObserver: |
51 virtual void OnOverviewModeEnter() OVERRIDE; | 52 virtual void OnOverviewModeEnter() OVERRIDE; |
(...skipping 13 matching lines...) Expand all Loading... |
65 | 66 |
66 // Whether overview mode is active. | 67 // Whether overview mode is active. |
67 bool in_overview_; | 68 bool in_overview_; |
68 | 69 |
69 DISALLOW_COPY_AND_ASSIGN(ActivityFrameView); | 70 DISALLOW_COPY_AND_ASSIGN(ActivityFrameView); |
70 }; | 71 }; |
71 | 72 |
72 } // namespace athena | 73 } // namespace athena |
73 | 74 |
74 #endif // ATHENA_ACTIVITY_ACTIVITY_FRAME_VIEW_H_ | 75 #endif // ATHENA_ACTIVITY_ACTIVITY_FRAME_VIEW_H_ |
OLD | NEW |