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

Unified Diff: ui/views/mus/native_widget_mus.h

Issue 1991973003: mash: Preliminary support for widget hit test masks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 months 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 | « components/mus/ws/window_tree.cc ('k') | ui/views/mus/native_widget_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/native_widget_mus.h
diff --git a/ui/views/mus/native_widget_mus.h b/ui/views/mus/native_widget_mus.h
index 7532719db35e7a0532bd40dc2181af36c412d071..f8ce3e2f0bcc3fca6178c47d971a674f6d55d5b9 100644
--- a/ui/views/mus/native_widget_mus.h
+++ b/ui/views/mus/native_widget_mus.h
@@ -238,6 +238,11 @@ private:
void OnMusWindowVisibilityChanging(mus::Window* window);
void OnMusWindowVisibilityChanged(mus::Window* window);
+ // Propagates the widget hit test mask, if any, to the mus::Window.
+ // TODO(jamescook): Wire this through views::Widget so widgets can push
+ // updates if needed.
+ void UpdateHitTestMask();
+
mus::Window* window_;
mus::mojom::Cursor last_cursor_;
« no previous file with comments | « components/mus/ws/window_tree.cc ('k') | ui/views/mus/native_widget_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698