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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 bool IsVisible() const override; | 69 bool IsVisible() const override; |
70 void SetOpacity(float opacity) override; | 70 void SetOpacity(float opacity) override; |
71 float GetTargetOpacity() const override; | 71 float GetTargetOpacity() const override; |
72 void SetTransform(const gfx::Transform& transform) override; | 72 void SetTransform(const gfx::Transform& transform) override; |
73 gfx::Transform GetTargetTransform() const override; | 73 gfx::Transform GetTargetTransform() const override; |
74 bool IsSystemModal() const override; | 74 bool IsSystemModal() const override; |
75 bool GetBoolProperty(WmWindowProperty key) override; | 75 bool GetBoolProperty(WmWindowProperty key) override; |
76 int GetIntProperty(WmWindowProperty key) override; | 76 int GetIntProperty(WmWindowProperty key) override; |
77 const wm::WindowState* GetWindowState() const override; | 77 const wm::WindowState* GetWindowState() const override; |
78 WmWindow* GetToplevelWindow() override; | 78 WmWindow* GetToplevelWindow() override; |
| 79 WmWindow* GetToplevelWindowForFocus() override; |
79 void SetParentUsingContext(WmWindow* context, | 80 void SetParentUsingContext(WmWindow* context, |
80 const gfx::Rect& screen_bounds) override; | 81 const gfx::Rect& screen_bounds) override; |
81 void AddChild(WmWindow* window) override; | 82 void AddChild(WmWindow* window) override; |
82 WmWindow* GetParent() override; | 83 WmWindow* GetParent() override; |
83 const WmWindow* GetTransientParent() const override; | 84 const WmWindow* GetTransientParent() const override; |
84 std::vector<WmWindow*> GetTransientChildren() override; | 85 std::vector<WmWindow*> GetTransientChildren() override; |
85 void SetLayoutManager( | 86 void SetLayoutManager( |
86 std::unique_ptr<WmLayoutManager> layout_manager) override; | 87 std::unique_ptr<WmLayoutManager> layout_manager) override; |
87 WmLayoutManager* GetLayoutManager() override; | 88 WmLayoutManager* GetLayoutManager() override; |
88 void SetVisibilityAnimationType(int type) override; | 89 void SetVisibilityAnimationType(int type) override; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 aura::Window* window_; | 177 aura::Window* window_; |
177 | 178 |
178 base::ObserverList<WmWindowObserver> observers_; | 179 base::ObserverList<WmWindowObserver> observers_; |
179 | 180 |
180 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 181 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
181 }; | 182 }; |
182 | 183 |
183 } // namespace ash | 184 } // namespace ash |
184 | 185 |
185 #endif // ASH_AURA_WM_WINDOW_AURA_H_ | 186 #endif // ASH_AURA_WM_WINDOW_AURA_H_ |
OLD | NEW |