Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: ui/aura/mus/window_tree_host_mus_delegate.h

Issue 2507963002: Implement hit tests/client area. (Closed)
Patch Set: Merge with tot Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698