| 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/wm_window.h" | 10 #include "ash/common/wm_window.h" |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 float GetTargetOpacity() const override; | 145 float GetTargetOpacity() const override; |
| 146 gfx::Rect GetMinimizeAnimationTargetBoundsInScreen() const override; | 146 gfx::Rect GetMinimizeAnimationTargetBoundsInScreen() const override; |
| 147 void SetTransform(const gfx::Transform& transform) override; | 147 void SetTransform(const gfx::Transform& transform) override; |
| 148 gfx::Transform GetTargetTransform() const override; | 148 gfx::Transform GetTargetTransform() const override; |
| 149 bool IsSystemModal() const override; | 149 bool IsSystemModal() const override; |
| 150 bool GetBoolProperty(WmWindowProperty key) override; | 150 bool GetBoolProperty(WmWindowProperty key) override; |
| 151 SkColor GetColorProperty(WmWindowProperty key) override; | 151 SkColor GetColorProperty(WmWindowProperty key) override; |
| 152 void SetColorProperty(WmWindowProperty key, SkColor value) override; | 152 void SetColorProperty(WmWindowProperty key, SkColor value) override; |
| 153 int GetIntProperty(WmWindowProperty key) override; | 153 int GetIntProperty(WmWindowProperty key) override; |
| 154 void SetIntProperty(WmWindowProperty key, int value) override; | 154 void SetIntProperty(WmWindowProperty key, int value) override; |
| 155 std::string GetStringProperty(WmWindowProperty key) override; |
| 156 void SetStringProperty(WmWindowProperty key, |
| 157 const std::string& value) override; |
| 158 gfx::ImageSkia GetWindowIcon() override; |
| 159 gfx::ImageSkia GetAppIcon() override; |
| 155 const wm::WindowState* GetWindowState() const override; | 160 const wm::WindowState* GetWindowState() const override; |
| 156 WmWindow* GetToplevelWindow() override; | 161 WmWindow* GetToplevelWindow() override; |
| 157 WmWindow* GetToplevelWindowForFocus() override; | 162 WmWindow* GetToplevelWindowForFocus() override; |
| 158 void SetParentUsingContext(WmWindow* context, | 163 void SetParentUsingContext(WmWindow* context, |
| 159 const gfx::Rect& screen_bounds) override; | 164 const gfx::Rect& screen_bounds) override; |
| 160 void AddChild(WmWindow* window) override; | 165 void AddChild(WmWindow* window) override; |
| 161 void RemoveChild(WmWindow* child) override; | 166 void RemoveChild(WmWindow* child) override; |
| 162 const WmWindow* GetParent() const override; | 167 const WmWindow* GetParent() const override; |
| 163 const WmWindow* GetTransientParent() const override; | 168 const WmWindow* GetTransientParent() const override; |
| 164 std::vector<WmWindow*> GetTransientChildren() override; | 169 std::vector<WmWindow*> GetTransientChildren() override; |
| 170 bool MoveToEventRoot(const ui::Event& event) override; |
| 165 void SetLayoutManager( | 171 void SetLayoutManager( |
| 166 std::unique_ptr<WmLayoutManager> layout_manager) override; | 172 std::unique_ptr<WmLayoutManager> layout_manager) override; |
| 167 WmLayoutManager* GetLayoutManager() override; | 173 WmLayoutManager* GetLayoutManager() override; |
| 168 void SetVisibilityChangesAnimated() override; | 174 void SetVisibilityChangesAnimated() override; |
| 169 void SetVisibilityAnimationType(int type) override; | 175 void SetVisibilityAnimationType(int type) override; |
| 170 void SetVisibilityAnimationDuration(base::TimeDelta delta) override; | 176 void SetVisibilityAnimationDuration(base::TimeDelta delta) override; |
| 171 void SetVisibilityAnimationTransition( | 177 void SetVisibilityAnimationTransition( |
| 172 ::wm::WindowVisibilityAnimationTransition transition) override; | 178 ::wm::WindowVisibilityAnimationTransition transition) override; |
| 173 void Animate(::wm::WindowAnimationType type) override; | 179 void Animate(::wm::WindowAnimationType type) override; |
| 174 void StopAnimatingProperty( | 180 void StopAnimatingProperty( |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 | 316 |
| 311 bool locked_to_root_ = false; | 317 bool locked_to_root_ = false; |
| 312 | 318 |
| 313 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); | 319 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); |
| 314 }; | 320 }; |
| 315 | 321 |
| 316 } // namespace mus | 322 } // namespace mus |
| 317 } // namespace ash | 323 } // namespace ash |
| 318 | 324 |
| 319 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ | 325 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ |
| OLD | NEW |