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

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

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_GESTURE_EVENT_QUEUE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_QUEUE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_QUEUE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_QUEUE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <deque> 10 #include <deque>
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
15 #include "content/browser/renderer_host/event_with_latency_info.h" 15 #include "content/browser/renderer_host/event_with_latency_info.h"
16 #include "content/browser/renderer_host/input/tap_suppression_controller.h" 16 #include "content/browser/renderer_host/input/tap_suppression_controller.h"
17 #include "content/browser/renderer_host/input/touchpad_tap_suppression_controlle r.h" 17 #include "content/browser/renderer_host/input/touchpad_tap_suppression_controlle r.h"
18 #include "content/browser/renderer_host/input/touchscreen_tap_suppression_contro ller.h" 18 #include "content/browser/renderer_host/input/touchscreen_tap_suppression_contro ller.h"
19 #include "content/common/content_export.h" 19 #include "content/common/content_export.h"
20 #include "content/common/input/input_event_ack_state.h" 20 #include "content/common/input/input_event_ack_state.h"
21 #include "third_party/WebKit/public/web/WebInputEvent.h" 21 #include "third_party/WebKit/public/platform/WebInputEvent.h"
22 #include "ui/gfx/transform.h" 22 #include "ui/gfx/transform.h"
23 23
24 namespace content { 24 namespace content {
25 class GestureEventQueueTest; 25 class GestureEventQueueTest;
26 class MockRenderWidgetHost; 26 class MockRenderWidgetHost;
27 27
28 // Interface with which the GestureEventQueue can forward gesture events, and 28 // Interface with which the GestureEventQueue can forward gesture events, and
29 // dispatch gesture event responses. 29 // dispatch gesture event responses.
30 class CONTENT_EXPORT GestureEventQueueClient { 30 class CONTENT_EXPORT GestureEventQueueClient {
31 public: 31 public:
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // Time window in which to debounce scroll/fling ends. Note that an interval 203 // Time window in which to debounce scroll/fling ends. Note that an interval
204 // of zero effectively disables debouncing. 204 // of zero effectively disables debouncing.
205 base::TimeDelta debounce_interval_; 205 base::TimeDelta debounce_interval_;
206 206
207 DISALLOW_COPY_AND_ASSIGN(GestureEventQueue); 207 DISALLOW_COPY_AND_ASSIGN(GestureEventQueue);
208 }; 208 };
209 209
210 } // namespace content 210 } // namespace content
211 211
212 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_QUEUE_H_ 212 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_QUEUE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698