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_AURA_WM_WINDOW_AURA_H_ | 5 #ifndef ASH_AURA_WM_WINDOW_AURA_H_ |
6 #define ASH_AURA_WM_WINDOW_AURA_H_ | 6 #define ASH_AURA_WM_WINDOW_AURA_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/common/wm_window.h" | 9 #include "ash/common/wm_window.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 void SetIntProperty(WmWindowProperty key, int value) override; | 85 void SetIntProperty(WmWindowProperty key, int value) override; |
86 ShelfItemDetails* GetShelfItemDetails() override; | 86 ShelfItemDetails* GetShelfItemDetails() override; |
87 void SetShelfItemDetails(const ShelfItemDetails& details) override; | 87 void SetShelfItemDetails(const ShelfItemDetails& details) override; |
88 void ClearShelfItemDetails() override; | 88 void ClearShelfItemDetails() override; |
89 const wm::WindowState* GetWindowState() const override; | 89 const wm::WindowState* GetWindowState() const override; |
90 WmWindow* GetToplevelWindow() override; | 90 WmWindow* GetToplevelWindow() override; |
91 WmWindow* GetToplevelWindowForFocus() override; | 91 WmWindow* GetToplevelWindowForFocus() override; |
92 void SetParentUsingContext(WmWindow* context, | 92 void SetParentUsingContext(WmWindow* context, |
93 const gfx::Rect& screen_bounds) override; | 93 const gfx::Rect& screen_bounds) override; |
94 void AddChild(WmWindow* window) override; | 94 void AddChild(WmWindow* window) override; |
| 95 void RemoveChild(WmWindow* child) override; |
95 const WmWindow* GetParent() const override; | 96 const WmWindow* GetParent() const override; |
96 const WmWindow* GetTransientParent() const override; | 97 const WmWindow* GetTransientParent() const override; |
97 std::vector<WmWindow*> GetTransientChildren() override; | 98 std::vector<WmWindow*> GetTransientChildren() override; |
98 void SetLayoutManager( | 99 void SetLayoutManager( |
99 std::unique_ptr<WmLayoutManager> layout_manager) override; | 100 std::unique_ptr<WmLayoutManager> layout_manager) override; |
100 WmLayoutManager* GetLayoutManager() override; | 101 WmLayoutManager* GetLayoutManager() override; |
101 void SetVisibilityChangesAnimated() override; | 102 void SetVisibilityChangesAnimated() override; |
102 void SetVisibilityAnimationType(int type) override; | 103 void SetVisibilityAnimationType(int type) override; |
103 void SetVisibilityAnimationDuration(base::TimeDelta delta) override; | 104 void SetVisibilityAnimationDuration(base::TimeDelta delta) override; |
104 void SetVisibilityAnimationTransition( | 105 void SetVisibilityAnimationTransition( |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 | 208 |
208 bool added_transient_observer_ = false; | 209 bool added_transient_observer_ = false; |
209 base::ObserverList<WmTransientWindowObserver> transient_observers_; | 210 base::ObserverList<WmTransientWindowObserver> transient_observers_; |
210 | 211 |
211 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 212 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
212 }; | 213 }; |
213 | 214 |
214 } // namespace ash | 215 } // namespace ash |
215 | 216 |
216 #endif // ASH_AURA_WM_WINDOW_AURA_H_ | 217 #endif // ASH_AURA_WM_WINDOW_AURA_H_ |
OLD | NEW |