OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_AURA_WM_WINDOW_AURA_H_ | 5 #ifndef ASH_WM_AURA_WM_WINDOW_AURA_H_ |
6 #define ASH_WM_AURA_WM_WINDOW_AURA_H_ | 6 #define ASH_WM_AURA_WM_WINDOW_AURA_H_ |
7 | 7 |
8 #include "ash/wm/common/wm_window.h" | 8 #include "ash/wm/common/wm_window.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; | 50 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; |
51 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; | 51 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; |
52 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; | 52 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; |
53 gfx::Size GetMinimumSize() override; | 53 gfx::Size GetMinimumSize() override; |
54 gfx::Size GetMaximumSize() override; | 54 gfx::Size GetMaximumSize() override; |
55 bool GetTargetVisibility() const override; | 55 bool GetTargetVisibility() const override; |
56 bool IsVisible() const override; | 56 bool IsVisible() const override; |
57 bool GetBoolProperty(WmWindowProperty key) override; | 57 bool GetBoolProperty(WmWindowProperty key) override; |
58 const WindowState* GetWindowState() const override; | 58 const WindowState* GetWindowState() const override; |
59 WmWindow* GetToplevelWindow() override; | 59 WmWindow* GetToplevelWindow() override; |
| 60 void SetParentUsingContext(WmWindow* context, |
| 61 const gfx::Rect& screen_bounds) override; |
60 void AddChild(WmWindow* window) override; | 62 void AddChild(WmWindow* window) override; |
61 WmWindow* GetParent() override; | 63 WmWindow* GetParent() override; |
62 WmWindow* GetTransientParent() override; | 64 WmWindow* GetTransientParent() override; |
63 std::vector<WmWindow*> GetTransientChildren() override; | 65 std::vector<WmWindow*> GetTransientChildren() override; |
64 void SetVisibilityAnimationType(int type) override; | 66 void SetVisibilityAnimationType(int type) override; |
65 void Animate(::wm::WindowAnimationType type) override; | 67 void Animate(::wm::WindowAnimationType type) override; |
66 void SetBounds(const gfx::Rect& bounds) override; | 68 void SetBounds(const gfx::Rect& bounds) override; |
67 void SetBoundsWithTransitionDelay(const gfx::Rect& bounds, | 69 void SetBoundsWithTransitionDelay(const gfx::Rect& bounds, |
68 base::TimeDelta delta) override; | 70 base::TimeDelta delta) override; |
69 void SetBoundsDirect(const gfx::Rect& bounds) override; | 71 void SetBoundsDirect(const gfx::Rect& bounds) override; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 125 |
124 base::ObserverList<WmWindowObserver> observers_; | 126 base::ObserverList<WmWindowObserver> observers_; |
125 | 127 |
126 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 128 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
127 }; | 129 }; |
128 | 130 |
129 } // namespace wm | 131 } // namespace wm |
130 } // namespace ash | 132 } // namespace ash |
131 | 133 |
132 #endif // ASH_WM_AURA_WM_WINDOW_AURA_H_ | 134 #endif // ASH_WM_AURA_WM_WINDOW_AURA_H_ |
OLD | NEW |