| Index: components/mus/public/cpp/lib/window_tree_client_impl.cc
|
| diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.cc b/components/mus/public/cpp/lib/window_tree_client_impl.cc
|
| index 3567b5250fa484a9457010c0b96e6839f1b88b8a..42185282cf098b7721b43a4c67f88f40b3520e22 100644
|
| --- a/components/mus/public/cpp/lib/window_tree_client_impl.cc
|
| +++ b/components/mus/public/cpp/lib/window_tree_client_impl.cc
|
| @@ -524,6 +524,13 @@ Window* WindowTreeClientImpl::GetFocusedWindow() {
|
| return focused_window_;
|
| }
|
|
|
| +void WindowTreeClientImpl::ClearFocus() {
|
| + if (!focused_window_)
|
| + return;
|
| +
|
| + SetFocus(nullptr);
|
| +}
|
| +
|
| Window* WindowTreeClientImpl::NewWindow(
|
| const Window::SharedProperties* properties) {
|
| return NewWindowImpl(NewWindowType::CHILD, properties);
|
|
|