Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(891)

Side by Side Diff: content/browser/renderer_host/input/immediate_input_router.h

Issue 25268002: Make tapDown async. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address jdduke's comments. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 void ProcessKeyboardAck(int type, InputEventAckState ack_result); 116 void ProcessKeyboardAck(int type, InputEventAckState ack_result);
117 117
118 // Called by ProcessInputEventAck() to process a wheel event ack message. 118 // Called by ProcessInputEventAck() to process a wheel event ack message.
119 // This could result in a task being posted to allow additional wheel 119 // This could result in a task being posted to allow additional wheel
120 // input messages to be coalesced. 120 // input messages to be coalesced.
121 void ProcessWheelAck(InputEventAckState ack_result); 121 void ProcessWheelAck(InputEventAckState ack_result);
122 122
123 // Called by ProcessInputEventAck() to process a gesture event ack message. 123 // Called by ProcessInputEventAck() to process a gesture event ack message.
124 // This validates the gesture for suppression of touchpad taps and sends one 124 // This validates the gesture for suppression of touchpad taps and sends one
125 // previously queued coalesced gesture if it exists. 125 // previously queued coalesced gesture if it exists.
126 void ProcessGestureAck(int type, InputEventAckState ack_result); 126 void ProcessGestureAck(WebKit::WebInputEvent::Type,
127 InputEventAckState ack_result);
127 128
128 // Called on ProcessInputEventAck() to process a touch event ack message. 129 // Called on ProcessInputEventAck() to process a touch event ack message.
129 // This can result in a gesture event being generated and sent back to the 130 // This can result in a gesture event being generated and sent back to the
130 // renderer. 131 // renderer.
131 void ProcessTouchAck(InputEventAckState ack_result, 132 void ProcessTouchAck(InputEventAckState ack_result,
132 const ui::LatencyInfo& latency_info); 133 const ui::LatencyInfo& latency_info);
133 134
134 void HandleGestureScroll( 135 void HandleGestureScroll(
135 const GestureEventWithLatencyInfo& gesture_event); 136 const GestureEventWithLatencyInfo& gesture_event);
136 137
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 201
201 scoped_ptr<TouchEventQueue> touch_event_queue_; 202 scoped_ptr<TouchEventQueue> touch_event_queue_;
202 scoped_ptr<GestureEventFilter> gesture_event_filter_; 203 scoped_ptr<GestureEventFilter> gesture_event_filter_;
203 204
204 DISALLOW_COPY_AND_ASSIGN(ImmediateInputRouter); 205 DISALLOW_COPY_AND_ASSIGN(ImmediateInputRouter);
205 }; 206 };
206 207
207 } // namespace content 208 } // namespace content
208 209
209 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_IMMEDIATE_INPUT_ROUTER_H_ 210 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_IMMEDIATE_INPUT_ROUTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698