| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 void ShowResizeShadow(int component) override; | 203 void ShowResizeShadow(int component) override; |
| 204 void HideResizeShadow() override; | 204 void HideResizeShadow() override; |
| 205 void SetBoundsInScreenBehaviorForChildren( | 205 void SetBoundsInScreenBehaviorForChildren( |
| 206 BoundsInScreenBehavior behavior) override; | 206 BoundsInScreenBehavior behavior) override; |
| 207 void SetSnapsChildrenToPhysicalPixelBoundary() override; | 207 void SetSnapsChildrenToPhysicalPixelBoundary() override; |
| 208 void SnapToPixelBoundaryIfNecessary() override; | 208 void SnapToPixelBoundaryIfNecessary() override; |
| 209 void SetChildrenUseExtendedHitRegion() override; | 209 void SetChildrenUseExtendedHitRegion() override; |
| 210 void SetDescendantsStayInSameRootWindow(bool value) override; | 210 void SetDescendantsStayInSameRootWindow(bool value) override; |
| 211 void AddObserver(WmWindowObserver* observer) override; | 211 void AddObserver(WmWindowObserver* observer) override; |
| 212 void RemoveObserver(WmWindowObserver* observer) override; | 212 void RemoveObserver(WmWindowObserver* observer) override; |
| 213 bool HasObserver(const WmWindowObserver* observer) const override; |
| 213 | 214 |
| 214 private: | 215 private: |
| 215 // mus::WindowObserver: | 216 // mus::WindowObserver: |
| 216 void OnTreeChanging(const TreeChangeParams& params) override; | 217 void OnTreeChanging(const TreeChangeParams& params) override; |
| 217 void OnTreeChanged(const TreeChangeParams& params) override; | 218 void OnTreeChanged(const TreeChangeParams& params) override; |
| 218 void OnWindowReordered(::mus::Window* window, | 219 void OnWindowReordered(::mus::Window* window, |
| 219 ::mus::Window* relative_window, | 220 ::mus::Window* relative_window, |
| 220 ::mus::mojom::OrderDirection direction) override; | 221 ::mus::mojom::OrderDirection direction) override; |
| 221 void OnWindowSharedPropertyChanged( | 222 void OnWindowSharedPropertyChanged( |
| 222 ::mus::Window* window, | 223 ::mus::Window* window, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 // resizing easier. | 256 // resizing easier. |
| 256 bool children_use_extended_hit_region_ = false; | 257 bool children_use_extended_hit_region_ = false; |
| 257 | 258 |
| 258 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); | 259 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); |
| 259 }; | 260 }; |
| 260 | 261 |
| 261 } // namespace mus | 262 } // namespace mus |
| 262 } // namespace ash | 263 } // namespace ash |
| 263 | 264 |
| 264 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ | 265 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ |
| OLD | NEW |