| Index: components/mus/ws/default_access_policy.cc
|
| diff --git a/components/mus/ws/default_access_policy.cc b/components/mus/ws/default_access_policy.cc
|
| index 8948462965c7ca3983707e81b95b81d1c13a63f7..76508af2ce66ff11ab1c712e97d2bebdbc070771 100644
|
| --- a/components/mus/ws/default_access_policy.cc
|
| +++ b/components/mus/ws/default_access_policy.cc
|
| @@ -123,6 +123,11 @@ bool DefaultAccessPolicy::CanSetWindowTextInputState(
|
| delegate_->HasRootForAccessPolicy(window);
|
| }
|
|
|
| +bool DefaultAccessPolicy::CanSetCapture(const ServerWindow* window) const {
|
| + return WasCreatedByThisConnection(window) ||
|
| + delegate_->HasRootForAccessPolicy(window);
|
| +}
|
| +
|
| bool DefaultAccessPolicy::CanSetFocus(const ServerWindow* window) const {
|
| return WasCreatedByThisConnection(window) ||
|
| delegate_->HasRootForAccessPolicy(window);
|
|
|