Index: components/mus/public/cpp/input_event_handler.h |
diff --git a/components/mus/public/cpp/input_event_handler.h b/components/mus/public/cpp/input_event_handler.h |
index 597653ba3d487163b8ad607b19d68ca8f898a6d5..e40e60e31ee969e3f88f25f7a58755ff91562197 100644 |
--- a/components/mus/public/cpp/input_event_handler.h |
+++ b/components/mus/public/cpp/input_event_handler.h |
@@ -6,7 +6,11 @@ |
#define COMPONENTS_MUS_PUBLIC_CPP_INPUT_EVENT_HANDLER_H_ |
#include "base/callback_forward.h" |
-#include "components/mus/public/interfaces/input_events.mojom.h" |
+#include "base/memory/scoped_ptr.h" |
+ |
+namespace ui { |
+class Event; |
+} |
namespace mus { |
@@ -21,7 +25,7 @@ class InputEventHandler { |
// the callback, then WindowTreeClientImpl will ack the event as not consumed. |
virtual void OnWindowInputEvent( |
Window* target, |
- mojom::EventPtr event, |
+ const ui::Event& event, |
scoped_ptr<base::Callback<void(bool)>>* ack_callback) = 0; |
protected: |