| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_ |
| 6 #define CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_ | 6 #define CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 InputEventAckState HandleInputEvent(int routing_id, | 31 InputEventAckState HandleInputEvent(int routing_id, |
| 32 const blink::WebInputEvent& input_event); | 32 const blink::WebInputEvent& input_event); |
| 33 | 33 |
| 34 // InputHandlerManagerClient implementation. | 34 // InputHandlerManagerClient implementation. |
| 35 virtual void SetBoundHandler(const Handler& handler) OVERRIDE; | 35 virtual void SetBoundHandler(const Handler& handler) OVERRIDE; |
| 36 virtual void DidAddInputHandler(int routing_id, | 36 virtual void DidAddInputHandler(int routing_id, |
| 37 cc::InputHandler* input_handler) OVERRIDE; | 37 cc::InputHandler* input_handler) OVERRIDE; |
| 38 virtual void DidRemoveInputHandler(int routing_id) OVERRIDE; | 38 virtual void DidRemoveInputHandler(int routing_id) OVERRIDE; |
| 39 virtual void DidOverscroll(int routing_id, | 39 virtual void DidOverscroll(int routing_id, |
| 40 const cc::DidOverscrollParams& params) OVERRIDE; | 40 const DidOverscrollParams& params) OVERRIDE; |
| 41 virtual void DidStopFlinging(int routing_id) OVERRIDE; | 41 virtual void DidStopFlinging(int routing_id) OVERRIDE; |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 void SetBoundHandlerOnUIThread(const Handler& handler); | 44 void SetBoundHandlerOnUIThread(const Handler& handler); |
| 45 | 45 |
| 46 Handler handler_; | 46 Handler handler_; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace content | 49 } // namespace content |
| 50 | 50 |
| 51 #endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_ | 51 #endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_ |
| OLD | NEW |