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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.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/public/cpp/lib/window.cc ('k') | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/window_tree_client_impl.h
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.h b/components/mus/public/cpp/lib/window_tree_client_impl.h
index aef326f7cc320d143bfa1368f37c5eb1f81415f7..4b24c27ac0d3ec4e3ebfddac7b29d892b85d3248 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.h
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.h
@@ -87,6 +87,8 @@ class WindowTreeClientImpl : public WindowTreeConnection,
void SetClientArea(Id window_id,
const gfx::Insets& client_area,
const std::vector<gfx::Rect>& additional_client_areas);
+ void SetHitTestMask(Id window_id, const gfx::Rect& mask);
+ void ClearHitTestMask(Id window_id);
void SetFocus(Window* window);
void SetCanFocus(Id window_id, bool can_focus);
void SetPredefinedCursor(Id window_id, mus::mojom::Cursor cursor_id);
« no previous file with comments | « components/mus/public/cpp/lib/window.cc ('k') | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698