| Index: components/mus/view_tree_host_impl.cc
|
| diff --git a/components/mus/view_tree_host_impl.cc b/components/mus/view_tree_host_impl.cc
|
| index 775c5f98ed35054a12e1c07ef2cd9f605f71efea..cbe7904e53409ddc64fffe9c2787a862070da7e3 100644
|
| --- a/components/mus/view_tree_host_impl.cc
|
| +++ b/components/mus/view_tree_host_impl.cc
|
| @@ -150,7 +150,12 @@ ServerView* ViewTreeHostImpl::GetRootView() {
|
| return root_.get();
|
| }
|
|
|
| -void ViewTreeHostImpl::OnEvent(mojo::EventPtr event) {
|
| +void ViewTreeHostImpl::OnEvent(ViewId id, mojo::EventPtr event) {
|
| + ServerView* view = connection_manager_->GetView(id);
|
| + if (view) {
|
| + DispatchInputEventToView(view, event.Pass());
|
| + return;
|
| + }
|
| event_dispatcher_.OnEvent(event.Pass());
|
| }
|
|
|
|
|