Chromium Code Reviews| 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_IMMEDIATE_INPUT_ROUTER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_IMMEDIATE_INPUT_ROUTER_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_IMMEDIATE_INPUT_ROUTER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_IMMEDIATE_INPUT_ROUTER_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 112 void ProcessKeyboardAck(int type, InputEventAckState ack_result); | 112 void ProcessKeyboardAck(int type, InputEventAckState ack_result); |
| 113 | 113 |
| 114 // Called by ProcessInputEventAck() to process a wheel event ack message. | 114 // Called by ProcessInputEventAck() to process a wheel event ack message. |
| 115 // This could result in a task being posted to allow additional wheel | 115 // This could result in a task being posted to allow additional wheel |
| 116 // input messages to be coalesced. | 116 // input messages to be coalesced. |
| 117 void ProcessWheelAck(InputEventAckState ack_result); | 117 void ProcessWheelAck(InputEventAckState ack_result); |
| 118 | 118 |
| 119 // Called by ProcessInputEventAck() to process a gesture event ack message. | 119 // Called by ProcessInputEventAck() to process a gesture event ack message. |
| 120 // This validates the gesture for suppression of touchpad taps and sends one | 120 // This validates the gesture for suppression of touchpad taps and sends one |
| 121 // previously queued coalesced gesture if it exists. | 121 // previously queued coalesced gesture if it exists. |
| 122 void ProcessGestureAck(int type, InputEventAckState ack_result); | 122 void ProcessGestureAck(int type, |
| 123 InputEventAckState ack_result, | |
|
nduca
2013/08/15 01:41:04
here you're changing just the gesture ack but not
| |
| 124 const ui::LatencyInfo& latency_info); | |
| 123 | 125 |
| 124 // Called on ProcessInputEventAck() to process a touch event ack message. | 126 // Called on ProcessInputEventAck() to process a touch event ack message. |
| 125 // This can result in a gesture event being generated and sent back to the | 127 // This can result in a gesture event being generated and sent back to the |
| 126 // renderer. | 128 // renderer. |
| 127 void ProcessTouchAck(InputEventAckState ack_result, | 129 void ProcessTouchAck(InputEventAckState ack_result, |
| 128 const ui::LatencyInfo& latency_info); | 130 const ui::LatencyInfo& latency_info); |
| 129 | 131 |
| 130 int routing_id() const { return routing_id_; } | 132 int routing_id() const { return routing_id_; } |
| 131 | 133 |
| 132 | 134 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 188 | 190 |
| 189 scoped_ptr<TouchEventQueue> touch_event_queue_; | 191 scoped_ptr<TouchEventQueue> touch_event_queue_; |
| 190 scoped_ptr<GestureEventFilter> gesture_event_filter_; | 192 scoped_ptr<GestureEventFilter> gesture_event_filter_; |
| 191 | 193 |
| 192 DISALLOW_COPY_AND_ASSIGN(ImmediateInputRouter); | 194 DISALLOW_COPY_AND_ASSIGN(ImmediateInputRouter); |
| 193 }; | 195 }; |
| 194 | 196 |
| 195 } // namespace content | 197 } // namespace content |
| 196 | 198 |
| 197 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_IMMEDIATE_INPUT_ROUTER_H_ | 199 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_IMMEDIATE_INPUT_ROUTER_H_ |
| OLD | NEW |