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

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

Issue 2507963002: Implement hit tests/client area. (Closed)
Patch Set: add it back 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
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.cc ('k') | ui/aura/mus/window_tree_host_mus_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..574fc8b653a0bb60e83bdec2c9d874ecd4c8a971 100644
--- a/ui/aura/mus/window_tree_host_mus_delegate.h
+++ b/ui/aura/mus/window_tree_host_mus_delegate.h
@@ -25,6 +25,17 @@ 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& client_area,
+ const std::vector<gfx::Rect>& additional_client_areas) = 0;
+
+ // Called when the hit test mask is about to be cleared.
+ virtual void OnWindowTreeHostHitTestMaskWillChange(
+ WindowTreeHostMus* window_tree_host,
+ const base::Optional<gfx::Rect>& mask_rect) = 0;
+
// Called when a WindowTreeHostMus is created without a WindowPort.
virtual std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel() = 0;
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.cc ('k') | ui/aura/mus/window_tree_host_mus_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698