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

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

Issue 2663493003: Move the TouchEventQueue to be completely virtual. (Closed)
Patch Set: Fix nits Created 3 years, 10 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 | « content/browser/BUILD.gn ('k') | 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 // Whether there are any active flings in the renderer. As the fling 245 // Whether there are any active flings in the renderer. As the fling
246 // end notification is asynchronous, we use a count rather than a boolean 246 // end notification is asynchronous, we use a count rather than a boolean
247 // to avoid races in bookkeeping when starting a new fling. 247 // to avoid races in bookkeeping when starting a new fling.
248 int active_renderer_fling_count_; 248 int active_renderer_fling_count_;
249 249
250 // Whether the TouchScrollStarted event has been sent for the current 250 // Whether the TouchScrollStarted event has been sent for the current
251 // gesture scroll yet. 251 // gesture scroll yet.
252 bool touch_scroll_started_sent_; 252 bool touch_scroll_started_sent_;
253 253
254 MouseWheelEventQueue wheel_event_queue_; 254 MouseWheelEventQueue wheel_event_queue_;
255 TouchEventQueue touch_event_queue_; 255 std::unique_ptr<TouchEventQueue> touch_event_queue_;
256 GestureEventQueue gesture_event_queue_; 256 GestureEventQueue gesture_event_queue_;
257 TouchActionFilter touch_action_filter_; 257 TouchActionFilter touch_action_filter_;
258 InputEventStreamValidator input_stream_validator_; 258 InputEventStreamValidator input_stream_validator_;
259 InputEventStreamValidator output_stream_validator_; 259 InputEventStreamValidator output_stream_validator_;
260 260
261 float device_scale_factor_; 261 float device_scale_factor_;
262 262
263 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); 263 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl);
264 }; 264 };
265 265
266 } // namespace content 266 } // namespace content
267 267
268 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ 268 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/renderer_host/input/input_router_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698