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

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

Issue 2667073002: mash: changes can_accept_events to an enum (Closed)
Patch Set: Created 3 years, 11 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
Index: ui/aura/mus/window_tree_client.h
diff --git a/ui/aura/mus/window_tree_client.h b/ui/aura/mus/window_tree_client.h
index 241b2e6a446ee06fd2cd57243064c5d17b145334..22ebbfd5dbc46dd837092ead4647d2c4718689e8 100644
--- a/ui/aura/mus/window_tree_client.h
+++ b/ui/aura/mus/window_tree_client.h
@@ -113,7 +113,8 @@ class AURA_EXPORT WindowTreeClient
void SetCanFocus(Window* window, bool can_focus);
void SetCanAcceptDrops(Id window_id, bool can_accept_drops);
- void SetCanAcceptEvents(WindowMus* window, bool can_accept_events);
+ void SetEventTargetingPolicy(WindowMus* window,
+ ui::mojom::EventTargetingPolicy policy);
void SetPredefinedCursor(WindowMus* window,
ui::mojom::Cursor old_cursor,
ui::mojom::Cursor new_cursor);

Powered by Google App Engine
This is Rietveld 408576698