Chromium Code Reviews| 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..7dff5cfcf859d819e72f52edbe31213bf99f7f6e 100644 |
| --- a/components/mus/public/cpp/input_event_handler.h |
| +++ b/components/mus/public/cpp/input_event_handler.h |
| @@ -6,7 +6,7 @@ |
| #define COMPONENTS_MUS_PUBLIC_CPP_INPUT_EVENT_HANDLER_H_ |
| #include "base/callback_forward.h" |
| -#include "components/mus/public/interfaces/input_events.mojom.h" |
| +#include "ui/events/event.h" |
|
sky
2016/03/16 18:12:34
You should be able to forward declare the event.
Hadi
2016/03/16 18:46:44
Done.
|
| namespace mus { |
| @@ -21,7 +21,7 @@ class InputEventHandler { |
| // the callback, then WindowTreeClientImpl will ack the event as not consumed. |
| virtual void OnWindowInputEvent( |
| Window* target, |
| - mojom::EventPtr event, |
| + ui::Event* event, |
|
sky
2016/03/16 18:12:34
const ui::Event&?
Hadi
2016/03/16 18:46:43
Done. This was infected from PlatformWindowDelegat
|
| scoped_ptr<base::Callback<void(bool)>>* ack_callback) = 0; |
| protected: |