Index: mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc |
diff --git a/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc b/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc |
index 772b1d6c10e3e89fd80d6bd795e4c3c901c1f67b..e99d99e1fac8e91492cf7719331316c968cdc434 100644 |
--- a/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc |
+++ b/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc |
@@ -775,6 +775,14 @@ void ViewManagerClientImpl::OnViewInputEvent( |
ack_callback.Run(); |
} |
+void ViewManagerClientImpl::DispatchOnViewInputEvent(Id view_id, |
+ EventPtr event) { |
+ // For now blindly bounce the message back to the server. Doing this means the |
+ // event is sent to the correct target (|view_id|). |
+ // Note: This function is only invoked on the window manager. |
+ service_->DispatchOnViewInputEvent(view_id, event.Pass()); |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// ViewManagerClientImpl, private: |