Chromium Code Reviews| Index: ui/aura/mus/window_tree_host_mus_delegate.h |
| diff --git a/ui/aura/mus/window_tree_host_mus_delegate.h b/ui/aura/mus/window_tree_host_mus_delegate.h |
| index e93dcfcaa912ba3117bd7630a914cf937d8b0bea..026d48a97aa184454461486b0b1b998e4efb77fa 100644 |
| --- a/ui/aura/mus/window_tree_host_mus_delegate.h |
| +++ b/ui/aura/mus/window_tree_host_mus_delegate.h |
| @@ -25,6 +25,20 @@ class AURA_EXPORT WindowTreeHostMusDelegate { |
| WindowTreeHostMus* window_tree_host, |
| const gfx::Rect& bounds) = 0; |
| + // Called when the client area of a WindowTreeHostMus is about to change. |
| + virtual void OnWindowTreeHostClientAreaWillChange( |
| + WindowTreeHostMus* window_tree_host, |
| + const gfx::Insets& insets) = 0; |
| + |
| + // Called when the hit test mask is about to be cleared. |
| + virtual void OnWindowTreeHostClearHitTestMask( |
|
sky
2016/11/19 15:29:31
How about a single function for this that takes a
Elliot Glaysher
2016/11/22 00:48:07
Done.
|
| + WindowTreeHostMus* window_tree_host) = 0; |
| + |
| + // Called when the hit test mask is about to be cleared. |
| + virtual void OnWindowTreeHostHitTestMaskWillChange( |
| + WindowTreeHostMus* window_tree_host, |
| + const gfx::Rect& mask_rect) = 0; |
| + |
| // Called when a WindowTreeHostMus is created without a WindowPort. |
| virtual std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel() = 0; |