| Index: services/ui/ws/window_tree.cc
|
| diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
|
| index 7b677590017f2841d671284be29e16e733644c25..8de070ecf32365f10db5bba599d794c118d465d6 100644
|
| --- a/services/ui/ws/window_tree.cc
|
| +++ b/services/ui/ws/window_tree.cc
|
| @@ -347,6 +347,13 @@ bool WindowTree::SetFocus(const ClientWindowId& window_id) {
|
| return success;
|
| }
|
|
|
| +void WindowTree::SetAcceptEvents(Id transport_window_id, bool accept_events) {
|
| + ServerWindow* window =
|
| + GetWindowByClientId(ClientWindowId(transport_window_id));
|
| + if (window && access_policy_->CanSetAcceptEvents(window))
|
| + window->set_accept_events(accept_events);
|
| +}
|
| +
|
| bool WindowTree::Embed(const ClientWindowId& window_id,
|
| mojom::WindowTreeClientPtr client,
|
| uint32_t flags) {
|
|
|