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 ebd159717f58f48c16b513f5cb33b3171a4b20c7..797b017af23b6c0ac66b75479c2de68a21148322 100644 |
| --- a/components/mus/public/cpp/input_event_handler.h |
| +++ b/components/mus/public/cpp/input_event_handler.h |
| @@ -18,9 +18,11 @@ class InputEventHandler { |
| // The event handler can asynchronously ack the event by taking ownership of |
| // the |ack_callback|. If the handler does not take ownership of the callback, |
| // then WindowTreeClientImpl will ack the event. |
| - virtual void OnWindowInputEvent(Window* target, |
| - mojom::EventPtr event, |
| - scoped_ptr<base::Closure>* ack_callback) = 0; |
| + virtual void OnWindowInputEvent( |
| + Window* target, |
| + mojom::EventPtr event, |
| + scoped_ptr<base::Callback<void(bool)>>* ack_callback) = 0; |
|
sky
2016/03/01 23:08:17
Document what the bool means.
jonross
2016/03/02 15:23:23
Done.
|
| + |
| protected: |
| virtual ~InputEventHandler() {} |
| }; |