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_MUS_BRIDGE_WM_WINDOW_MUS_H_ | 5 #ifndef ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ |
6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ | 6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/common/shell_window_ids.h" | 10 #include "ash/common/shell_window_ids.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; | 122 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; |
123 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; | 123 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; |
124 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; | 124 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; |
125 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; | 125 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; |
126 gfx::Size GetMinimumSize() const override; | 126 gfx::Size GetMinimumSize() const override; |
127 gfx::Size GetMaximumSize() const override; | 127 gfx::Size GetMaximumSize() const override; |
128 bool GetTargetVisibility() const override; | 128 bool GetTargetVisibility() const override; |
129 bool IsVisible() const override; | 129 bool IsVisible() const override; |
130 void SetOpacity(float opacity) override; | 130 void SetOpacity(float opacity) override; |
131 float GetTargetOpacity() const override; | 131 float GetTargetOpacity() const override; |
132 gfx::Rect GetMinimizeAnimationTargetBoundsInScreen() const override; | |
133 void SetTransform(const gfx::Transform& transform) override; | 132 void SetTransform(const gfx::Transform& transform) override; |
134 gfx::Transform GetTargetTransform() const override; | 133 gfx::Transform GetTargetTransform() const override; |
135 bool IsSystemModal() const override; | 134 bool IsSystemModal() const override; |
136 bool GetBoolProperty(WmWindowProperty key) override; | 135 bool GetBoolProperty(WmWindowProperty key) override; |
137 SkColor GetColorProperty(WmWindowProperty key) override; | |
138 void SetColorProperty(WmWindowProperty key, SkColor value) override; | |
139 int GetIntProperty(WmWindowProperty key) override; | 136 int GetIntProperty(WmWindowProperty key) override; |
140 void SetIntProperty(WmWindowProperty key, int value) override; | 137 void SetIntProperty(WmWindowProperty key, int value) override; |
141 ShelfItemDetails* GetShelfItemDetails() override; | 138 ShelfItemDetails* GetShelfItemDetails() override; |
142 void SetShelfItemDetails(const ShelfItemDetails& details) override; | 139 void SetShelfItemDetails(const ShelfItemDetails& details) override; |
143 void ClearShelfItemDetails() override; | 140 void ClearShelfItemDetails() override; |
144 const wm::WindowState* GetWindowState() const override; | 141 const wm::WindowState* GetWindowState() const override; |
145 WmWindow* GetToplevelWindow() override; | 142 WmWindow* GetToplevelWindow() override; |
146 WmWindow* GetToplevelWindowForFocus() override; | 143 WmWindow* GetToplevelWindowForFocus() override; |
147 void SetParentUsingContext(WmWindow* context, | 144 void SetParentUsingContext(WmWindow* context, |
148 const gfx::Rect& screen_bounds) override; | 145 const gfx::Rect& screen_bounds) override; |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 // If true the minimum size is 0x0, default is minimum size comes from widget. | 283 // If true the minimum size is 0x0, default is minimum size comes from widget. |
287 bool use_empty_minimum_size_for_testing_ = false; | 284 bool use_empty_minimum_size_for_testing_ = false; |
288 | 285 |
289 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); | 286 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); |
290 }; | 287 }; |
291 | 288 |
292 } // namespace mus | 289 } // namespace mus |
293 } // namespace ash | 290 } // namespace ash |
294 | 291 |
295 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ | 292 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ |
OLD | NEW |