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; | |
77 void SetTransform(const gfx::Transform& transform) override; | 76 void SetTransform(const gfx::Transform& transform) override; |
78 gfx::Transform GetTargetTransform() const override; | 77 gfx::Transform GetTargetTransform() const override; |
79 bool IsSystemModal() const override; | 78 bool IsSystemModal() const override; |
80 bool GetBoolProperty(WmWindowProperty key) override; | 79 bool GetBoolProperty(WmWindowProperty key) override; |
81 SkColor GetColorProperty(WmWindowProperty key) override; | |
82 void SetColorProperty(WmWindowProperty key, SkColor value) override; | |
83 int GetIntProperty(WmWindowProperty key) override; | 80 int GetIntProperty(WmWindowProperty key) override; |
84 void SetIntProperty(WmWindowProperty key, int value) override; | 81 void SetIntProperty(WmWindowProperty key, int value) override; |
85 ShelfItemDetails* GetShelfItemDetails() override; | 82 ShelfItemDetails* GetShelfItemDetails() override; |
86 void SetShelfItemDetails(const ShelfItemDetails& details) override; | 83 void SetShelfItemDetails(const ShelfItemDetails& details) override; |
87 void ClearShelfItemDetails() override; | 84 void ClearShelfItemDetails() override; |
88 const wm::WindowState* GetWindowState() const override; | 85 const wm::WindowState* GetWindowState() const override; |
89 WmWindow* GetToplevelWindow() override; | 86 WmWindow* GetToplevelWindow() override; |
90 WmWindow* GetToplevelWindowForFocus() override; | 87 WmWindow* GetToplevelWindowForFocus() override; |
91 void SetParentUsingContext(WmWindow* context, | 88 void SetParentUsingContext(WmWindow* context, |
92 const gfx::Rect& screen_bounds) override; | 89 const gfx::Rect& screen_bounds) override; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 | 201 |
205 bool added_transient_observer_ = false; | 202 bool added_transient_observer_ = false; |
206 base::ObserverList<WmTransientWindowObserver> transient_observers_; | 203 base::ObserverList<WmTransientWindowObserver> transient_observers_; |
207 | 204 |
208 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 205 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
209 }; | 206 }; |
210 | 207 |
211 } // namespace ash | 208 } // namespace ash |
212 | 209 |
213 #endif // ASH_AURA_WM_WINDOW_AURA_H_ | 210 #endif // ASH_AURA_WM_WINDOW_AURA_H_ |
OLD | NEW |