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

Unified Diff: services/ui/public/interfaces/window_tree.mojom

Issue 2667073002: mash: changes can_accept_events to an enum (Closed)
Patch Set: merge 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
« no previous file with comments | « ash/root_window_controller.cc ('k') | services/ui/public/interfaces/window_tree_constants.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/window_tree.mojom
diff --git a/services/ui/public/interfaces/window_tree.mojom b/services/ui/public/interfaces/window_tree.mojom
index d2343dbf791bcff7713eaaa2ac630d8b6d30557a..e60649005adf7d652baf419e4685c15e986595b5 100644
--- a/services/ui/public/interfaces/window_tree.mojom
+++ b/services/ui/public/interfaces/window_tree.mojom
@@ -253,9 +253,8 @@ interface WindowTree {
// Otherwise the existing state is used.
SetImeVisibility(uint32 window_id, bool visible, mojo.TextInputState? state);
- // Set whether the specified window can accept events. If a window does not
- // accept events, none of its descendant windows accept events either.
- SetCanAcceptEvents(uint32 window_id, bool accept_events);
+ // Sets the EventTargetingPolicy. See EventTargetingPolicy for details.
+ SetEventTargetingPolicy(uint32 window_id, EventTargetingPolicy policy);
// See documentation for WindowTreeClient::OnWindowInputEvent().
OnWindowInputEventAck(uint32 event_id, EventResult result);
« no previous file with comments | « ash/root_window_controller.cc ('k') | services/ui/public/interfaces/window_tree_constants.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698