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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; | 66 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; |
67 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; | 67 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; |
68 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; | 68 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; |
69 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; | 69 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; |
70 gfx::Size GetMinimumSize() const override; | 70 gfx::Size GetMinimumSize() const override; |
71 gfx::Size GetMaximumSize() const override; | 71 gfx::Size GetMaximumSize() const override; |
72 bool GetTargetVisibility() const override; | 72 bool GetTargetVisibility() const override; |
73 bool IsVisible() const override; | 73 bool IsVisible() const override; |
74 void SetOpacity(float opacity) override; | 74 void SetOpacity(float opacity) override; |
75 float GetTargetOpacity() const override; | 75 float GetTargetOpacity() const override; |
| 76 gfx::Rect GetMinimizeAnimationTargetBoundsInScreen() const override; |
76 void SetTransform(const gfx::Transform& transform) override; | 77 void SetTransform(const gfx::Transform& transform) override; |
77 gfx::Transform GetTargetTransform() const override; | 78 gfx::Transform GetTargetTransform() const override; |
78 bool IsSystemModal() const override; | 79 bool IsSystemModal() const override; |
79 bool GetBoolProperty(WmWindowProperty key) override; | 80 bool GetBoolProperty(WmWindowProperty key) override; |
| 81 SkColor GetColorProperty(WmWindowProperty key) override; |
| 82 void SetColorProperty(WmWindowProperty key, SkColor value) override; |
80 int GetIntProperty(WmWindowProperty key) override; | 83 int GetIntProperty(WmWindowProperty key) override; |
81 void SetIntProperty(WmWindowProperty key, int value) override; | 84 void SetIntProperty(WmWindowProperty key, int value) override; |
82 ShelfItemDetails* GetShelfItemDetails() override; | 85 ShelfItemDetails* GetShelfItemDetails() override; |
83 void SetShelfItemDetails(const ShelfItemDetails& details) override; | 86 void SetShelfItemDetails(const ShelfItemDetails& details) override; |
84 void ClearShelfItemDetails() override; | 87 void ClearShelfItemDetails() override; |
85 const wm::WindowState* GetWindowState() const override; | 88 const wm::WindowState* GetWindowState() const override; |
86 WmWindow* GetToplevelWindow() override; | 89 WmWindow* GetToplevelWindow() override; |
87 WmWindow* GetToplevelWindowForFocus() override; | 90 WmWindow* GetToplevelWindowForFocus() override; |
88 void SetParentUsingContext(WmWindow* context, | 91 void SetParentUsingContext(WmWindow* context, |
89 const gfx::Rect& screen_bounds) override; | 92 const gfx::Rect& screen_bounds) override; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 | 204 |
202 bool added_transient_observer_ = false; | 205 bool added_transient_observer_ = false; |
203 base::ObserverList<WmTransientWindowObserver> transient_observers_; | 206 base::ObserverList<WmTransientWindowObserver> transient_observers_; |
204 | 207 |
205 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 208 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
206 }; | 209 }; |
207 | 210 |
208 } // namespace ash | 211 } // namespace ash |
209 | 212 |
210 #endif // ASH_AURA_WM_WINDOW_AURA_H_ | 213 #endif // ASH_AURA_WM_WINDOW_AURA_H_ |
OLD | NEW |