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

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

Issue 2280383002: Remove MPArch.IIR_InputEventDelta (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | content/browser/renderer_host/input/input_router_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_INPUT_ROUTER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // to |key_queue_|. 223 // to |key_queue_|.
224 typedef std::deque<MouseEventWithLatencyInfo> MouseMoveQueue; 224 typedef std::deque<MouseEventWithLatencyInfo> MouseMoveQueue;
225 MouseMoveQueue mouse_move_queue_; 225 MouseMoveQueue mouse_move_queue_;
226 226
227 // A queue of keyboard events. We can't trust data from the renderer so we 227 // A queue of keyboard events. We can't trust data from the renderer so we
228 // stuff key events into a queue and pop them out on ACK, feeding our copy 228 // stuff key events into a queue and pop them out on ACK, feeding our copy
229 // back to whatever unhandled handler instead of the returned version. 229 // back to whatever unhandled handler instead of the returned version.
230 typedef std::deque<NativeWebKeyboardEventWithLatencyInfo> KeyQueue; 230 typedef std::deque<NativeWebKeyboardEventWithLatencyInfo> KeyQueue;
231 KeyQueue key_queue_; 231 KeyQueue key_queue_;
232 232
233 // The time when an input event was sent to the client.
234 base::TimeTicks input_event_start_time_;
235
236 // The source of the ack within the scope of |ProcessInputEventAck()|. 233 // The source of the ack within the scope of |ProcessInputEventAck()|.
237 // Defaults to ACK_SOURCE_NONE. 234 // Defaults to ACK_SOURCE_NONE.
238 AckSource current_ack_source_; 235 AckSource current_ack_source_;
239 236
240 // Whether a call to |Flush()| has yet been accompanied by a |DidFlush()| call 237 // Whether a call to |Flush()| has yet been accompanied by a |DidFlush()| call
241 // to the client_ after all events have been dispatched/acked. 238 // to the client_ after all events have been dispatched/acked.
242 bool flush_requested_; 239 bool flush_requested_;
243 240
244 // Whether there are any active flings in the renderer. As the fling 241 // Whether there are any active flings in the renderer. As the fling
245 // end notification is asynchronous, we use a count rather than a boolean 242 // end notification is asynchronous, we use a count rather than a boolean
(...skipping 12 matching lines...) Expand all
258 InputEventStreamValidator output_stream_validator_; 255 InputEventStreamValidator output_stream_validator_;
259 256
260 float device_scale_factor_; 257 float device_scale_factor_;
261 258
262 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); 259 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl);
263 }; 260 };
264 261
265 } // namespace content 262 } // namespace content
266 263
267 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ 264 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/input/input_router_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698