Index: components/mus/ws/window_manager_access_policy.cc |
diff --git a/components/mus/ws/window_manager_access_policy.cc b/components/mus/ws/window_manager_access_policy.cc |
index d259ebfcbd934273f7a8078c01649af0eaee5f14..b69a53fb1e0906e1ade9b98b53083b716e0f6c79 100644 |
--- a/components/mus/ws/window_manager_access_policy.cc |
+++ b/components/mus/ws/window_manager_access_policy.cc |
@@ -103,6 +103,11 @@ bool WindowManagerAccessPolicy::CanSetWindowTextInputState( |
return window->id().connection_id == connection_id_; |
} |
+bool WindowManagerAccessPolicy::CanSetCapture( |
+ const ServerWindow* window) const { |
+ return window->id().connection_id == connection_id_; |
+} |
+ |
bool WindowManagerAccessPolicy::CanSetFocus(const ServerWindow* window) const { |
return true; |
} |