| 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_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/port/browser/event_with_latency_info.h" | 9 #include "content/port/browser/event_with_latency_info.h" |
| 10 #include "content/port/common/input_event_ack_state.h" | 10 #include "content/port/common/input_event_ack_state.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 virtual bool OnSendGestureEventImmediately( | 61 virtual bool OnSendGestureEventImmediately( |
| 62 const GestureEventWithLatencyInfo& gesture_event) = 0; | 62 const GestureEventWithLatencyInfo& gesture_event) = 0; |
| 63 | 63 |
| 64 // Called upon event ack receipt from the renderer. | 64 // Called upon event ack receipt from the renderer. |
| 65 virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event, | 65 virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event, |
| 66 InputEventAckState ack_result) = 0; | 66 InputEventAckState ack_result) = 0; |
| 67 virtual void OnWheelEventAck(const WebKit::WebMouseWheelEvent& event, | 67 virtual void OnWheelEventAck(const WebKit::WebMouseWheelEvent& event, |
| 68 InputEventAckState ack_result) = 0; | 68 InputEventAckState ack_result) = 0; |
| 69 virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event, | 69 virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event, |
| 70 InputEventAckState ack_result) = 0; | 70 InputEventAckState ack_result) = 0; |
| 71 virtual void OnGestureEventAck(const WebKit::WebGestureEvent& event, | 71 virtual void OnGestureEventAck(const GestureEventWithLatencyInfo& event, |
| 72 InputEventAckState ack_result) = 0; | 72 InputEventAckState ack_result) = 0; |
| 73 virtual void OnUnexpectedEventAck(bool bad_message) = 0; | 73 virtual void OnUnexpectedEventAck(bool bad_message) = 0; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace content | 76 } // namespace content |
| 77 | 77 |
| 78 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ | 78 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_CLIENT_H_ |
| OLD | NEW |