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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 bool IsVisible() const override; | 69 bool IsVisible() const override; |
70 void SetOpacity(float opacity) override; | 70 void SetOpacity(float opacity) override; |
71 float GetTargetOpacity() const override; | 71 float GetTargetOpacity() const override; |
72 void SetTransform(const gfx::Transform& transform) override; | 72 void SetTransform(const gfx::Transform& transform) override; |
73 gfx::Transform GetTargetTransform() const override; | 73 gfx::Transform GetTargetTransform() const override; |
74 bool IsSystemModal() const override; | 74 bool IsSystemModal() const override; |
75 bool GetBoolProperty(WmWindowProperty key) override; | 75 bool GetBoolProperty(WmWindowProperty key) override; |
76 int GetIntProperty(WmWindowProperty key) override; | 76 int GetIntProperty(WmWindowProperty key) override; |
77 void SetIntProperty(WmWindowProperty key, int value) override; | 77 void SetIntProperty(WmWindowProperty key, int value) override; |
78 ShelfItemDetails* GetShelfItemDetails() override; | 78 ShelfItemDetails* GetShelfItemDetails() override; |
| 79 void SetShelfItemDetails(const ShelfItemDetails& details) override; |
| 80 void ClearShelfItemDetails() override; |
79 const wm::WindowState* GetWindowState() const override; | 81 const wm::WindowState* GetWindowState() const override; |
80 WmWindow* GetToplevelWindow() override; | 82 WmWindow* GetToplevelWindow() override; |
81 WmWindow* GetToplevelWindowForFocus() override; | 83 WmWindow* GetToplevelWindowForFocus() override; |
82 void SetParentUsingContext(WmWindow* context, | 84 void SetParentUsingContext(WmWindow* context, |
83 const gfx::Rect& screen_bounds) override; | 85 const gfx::Rect& screen_bounds) override; |
84 void AddChild(WmWindow* window) override; | 86 void AddChild(WmWindow* window) override; |
85 WmWindow* GetParent() override; | 87 WmWindow* GetParent() override; |
86 const WmWindow* GetTransientParent() const override; | 88 const WmWindow* GetTransientParent() const override; |
87 std::vector<WmWindow*> GetTransientChildren() override; | 89 std::vector<WmWindow*> GetTransientChildren() override; |
88 void SetLayoutManager( | 90 void SetLayoutManager( |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 aura::Window* window_; | 183 aura::Window* window_; |
182 | 184 |
183 base::ObserverList<WmWindowObserver> observers_; | 185 base::ObserverList<WmWindowObserver> observers_; |
184 | 186 |
185 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 187 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
186 }; | 188 }; |
187 | 189 |
188 } // namespace ash | 190 } // namespace ash |
189 | 191 |
190 #endif // ASH_AURA_WM_WINDOW_AURA_H_ | 192 #endif // ASH_AURA_WM_WINDOW_AURA_H_ |
OLD | NEW |