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

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

Issue 2507963002: Implement hit tests/client area. (Closed)
Patch Set: Really fix compile 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..6815d67697dc879df7bbf1de0e076b3de1e81e38 100644
--- a/ui/aura/mus/window_tree_host_mus_delegate.h
+++ b/ui/aura/mus/window_tree_host_mus_delegate.h
@@ -25,6 +25,18 @@ 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;
+
+ virtual void OnWindowTreeHostClearHitTestMask(
+ WindowTreeHostMus* window_tree_host) = 0;
+
+ 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