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

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

Issue 2027473002: Deprecate use of user gestures during scroll-related touch events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 // Whether a call to |Flush()| has yet been accompanied by a |DidFlush()| call 244 // Whether a call to |Flush()| has yet been accompanied by a |DidFlush()| call
245 // to the client_ after all events have been dispatched/acked. 245 // to the client_ after all events have been dispatched/acked.
246 bool flush_requested_; 246 bool flush_requested_;
247 247
248 // Whether there are any active flings in the renderer. As the fling 248 // Whether there are any active flings in the renderer. As the fling
249 // end notification is asynchronous, we use a count rather than a boolean 249 // end notification is asynchronous, we use a count rather than a boolean
250 // to avoid races in bookkeeping when starting a new fling. 250 // to avoid races in bookkeeping when starting a new fling.
251 int active_renderer_fling_count_; 251 int active_renderer_fling_count_;
252 252
253 // Whether the TouchScrollStarted event has been sent for the current
254 // gesture scroll yet.
255 bool touch_scroll_started_sent_;
256
253 MouseWheelEventQueue wheel_event_queue_; 257 MouseWheelEventQueue wheel_event_queue_;
254 TouchEventQueue touch_event_queue_; 258 TouchEventQueue touch_event_queue_;
255 GestureEventQueue gesture_event_queue_; 259 GestureEventQueue gesture_event_queue_;
256 TouchActionFilter touch_action_filter_; 260 TouchActionFilter touch_action_filter_;
257 InputEventStreamValidator input_stream_validator_; 261 InputEventStreamValidator input_stream_validator_;
258 InputEventStreamValidator output_stream_validator_; 262 InputEventStreamValidator output_stream_validator_;
259 263
260 float device_scale_factor_; 264 float device_scale_factor_;
261 265
262 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); 266 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl);
263 }; 267 };
264 268
265 } // namespace content 269 } // namespace content
266 270
267 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ 271 #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