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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 float GetTargetOpacity() const override; | 81 float GetTargetOpacity() const override; |
82 gfx::Rect GetMinimizeAnimationTargetBoundsInScreen() const override; | 82 gfx::Rect GetMinimizeAnimationTargetBoundsInScreen() const override; |
83 void SetTransform(const gfx::Transform& transform) override; | 83 void SetTransform(const gfx::Transform& transform) override; |
84 gfx::Transform GetTargetTransform() const override; | 84 gfx::Transform GetTargetTransform() const override; |
85 bool IsSystemModal() const override; | 85 bool IsSystemModal() const override; |
86 bool GetBoolProperty(WmWindowProperty key) override; | 86 bool GetBoolProperty(WmWindowProperty key) override; |
87 SkColor GetColorProperty(WmWindowProperty key) override; | 87 SkColor GetColorProperty(WmWindowProperty key) override; |
88 void SetColorProperty(WmWindowProperty key, SkColor value) override; | 88 void SetColorProperty(WmWindowProperty key, SkColor value) override; |
89 int GetIntProperty(WmWindowProperty key) override; | 89 int GetIntProperty(WmWindowProperty key) override; |
90 void SetIntProperty(WmWindowProperty key, int value) override; | 90 void SetIntProperty(WmWindowProperty key, int value) override; |
| 91 gfx::ImageSkia GetWindowIcon() override; |
| 92 gfx::ImageSkia GetAppIcon() override; |
91 const wm::WindowState* GetWindowState() const override; | 93 const wm::WindowState* GetWindowState() const override; |
92 WmWindow* GetToplevelWindow() override; | 94 WmWindow* GetToplevelWindow() override; |
93 WmWindow* GetToplevelWindowForFocus() override; | 95 WmWindow* GetToplevelWindowForFocus() override; |
94 void SetParentUsingContext(WmWindow* context, | 96 void SetParentUsingContext(WmWindow* context, |
95 const gfx::Rect& screen_bounds) override; | 97 const gfx::Rect& screen_bounds) override; |
96 void AddChild(WmWindow* window) override; | 98 void AddChild(WmWindow* window) override; |
97 void RemoveChild(WmWindow* child) override; | 99 void RemoveChild(WmWindow* child) override; |
98 const WmWindow* GetParent() const override; | 100 const WmWindow* GetParent() const override; |
99 const WmWindow* GetTransientParent() const override; | 101 const WmWindow* GetTransientParent() const override; |
100 std::vector<WmWindow*> GetTransientChildren() override; | 102 std::vector<WmWindow*> GetTransientChildren() override; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 213 |
212 bool added_transient_observer_ = false; | 214 bool added_transient_observer_ = false; |
213 base::ObserverList<WmTransientWindowObserver> transient_observers_; | 215 base::ObserverList<WmTransientWindowObserver> transient_observers_; |
214 | 216 |
215 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 217 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
216 }; | 218 }; |
217 | 219 |
218 } // namespace ash | 220 } // namespace ash |
219 | 221 |
220 #endif // ASH_AURA_WM_WINDOW_AURA_H_ | 222 #endif // ASH_AURA_WM_WINDOW_AURA_H_ |
OLD | NEW |