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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 bool IsVisible() const override; | 127 bool IsVisible() const override; |
128 void SetOpacity(float opacity) override; | 128 void SetOpacity(float opacity) override; |
129 float GetTargetOpacity() const override; | 129 float GetTargetOpacity() const override; |
130 void SetTransform(const gfx::Transform& transform) override; | 130 void SetTransform(const gfx::Transform& transform) override; |
131 gfx::Transform GetTargetTransform() const override; | 131 gfx::Transform GetTargetTransform() const override; |
132 bool IsSystemModal() const override; | 132 bool IsSystemModal() const override; |
133 bool GetBoolProperty(WmWindowProperty key) override; | 133 bool GetBoolProperty(WmWindowProperty key) override; |
134 int GetIntProperty(WmWindowProperty key) override; | 134 int GetIntProperty(WmWindowProperty key) override; |
135 void SetIntProperty(WmWindowProperty key, int value) override; | 135 void SetIntProperty(WmWindowProperty key, int value) override; |
136 ShelfItemDetails* GetShelfItemDetails() override; | 136 ShelfItemDetails* GetShelfItemDetails() override; |
| 137 void SetShelfItemDetails(const ShelfItemDetails& details) override; |
| 138 void ClearShelfItemDetails() override; |
137 const wm::WindowState* GetWindowState() const override; | 139 const wm::WindowState* GetWindowState() const override; |
138 WmWindow* GetToplevelWindow() override; | 140 WmWindow* GetToplevelWindow() override; |
139 WmWindow* GetToplevelWindowForFocus() override; | 141 WmWindow* GetToplevelWindowForFocus() override; |
140 void SetParentUsingContext(WmWindow* context, | 142 void SetParentUsingContext(WmWindow* context, |
141 const gfx::Rect& screen_bounds) override; | 143 const gfx::Rect& screen_bounds) override; |
142 void AddChild(WmWindow* window) override; | 144 void AddChild(WmWindow* window) override; |
143 WmWindow* GetParent() override; | 145 WmWindow* GetParent() override; |
144 const WmWindow* GetTransientParent() const override; | 146 const WmWindow* GetTransientParent() const override; |
145 std::vector<WmWindow*> GetTransientChildren() override; | 147 std::vector<WmWindow*> GetTransientChildren() override; |
146 void SetLayoutManager( | 148 void SetLayoutManager( |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 // resizing easier. | 265 // resizing easier. |
264 bool children_use_extended_hit_region_ = false; | 266 bool children_use_extended_hit_region_ = false; |
265 | 267 |
266 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); | 268 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); |
267 }; | 269 }; |
268 | 270 |
269 } // namespace mus | 271 } // namespace mus |
270 } // namespace ash | 272 } // namespace ash |
271 | 273 |
272 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ | 274 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ |
OLD | NEW |