| Index: sky/tools/debugger/debugger.cc
|
| diff --git a/sky/tools/debugger/debugger.cc b/sky/tools/debugger/debugger.cc
|
| index 3fb3a9834ab2f1cf023a3688da2d77b5f043ecf2..da575c29f7dc3de7acf82ea43b5a7386de6ffd1a 100644
|
| --- a/sky/tools/debugger/debugger.cc
|
| +++ b/sky/tools/debugger/debugger.cc
|
| @@ -82,6 +82,16 @@ void SkyDebugger::OnViewBoundsChanged(mojo::View* view,
|
| content_->SetBounds(new_bounds);
|
| }
|
|
|
| +void SkyDebugger::OnViewInputEvent(
|
| + mojo::View* view, const mojo::EventPtr& event) {
|
| + if (view != root_)
|
| + return;
|
| + // Currently, the event targeting system is broken for mojo::Views, so we
|
| + // blindly forward events from the root to the content view. Once event
|
| + // targeting works, we should be able to rip out this code.
|
| + window_manager_app_->DispatchInputEventToView(content_, event.Clone());
|
| +}
|
| +
|
| void SkyDebugger::Create(mojo::ApplicationConnection* connection,
|
| mojo::InterfaceRequest<Debugger> request) {
|
| mojo::WeakBindToRequest(this, &request);
|
|
|