| OLD | NEW |
| 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 <deque> | 8 #include <deque> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
| 13 #include "content/browser/renderer_host/event_with_latency_info.h" |
| 13 #include "content/browser/renderer_host/input/tap_suppression_controller.h" | 14 #include "content/browser/renderer_host/input/tap_suppression_controller.h" |
| 14 #include "content/browser/renderer_host/input/touchpad_tap_suppression_controlle
r.h" | 15 #include "content/browser/renderer_host/input/touchpad_tap_suppression_controlle
r.h" |
| 15 #include "content/browser/renderer_host/input/touchscreen_tap_suppression_contro
ller.h" | 16 #include "content/browser/renderer_host/input/touchscreen_tap_suppression_contro
ller.h" |
| 16 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
| 17 #include "content/port/browser/event_with_latency_info.h" | 18 #include "content/common/input/input_event_ack_state.h" |
| 18 #include "content/port/common/input_event_ack_state.h" | |
| 19 #include "third_party/WebKit/public/web/WebInputEvent.h" | 19 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 20 #include "ui/gfx/transform.h" | 20 #include "ui/gfx/transform.h" |
| 21 | 21 |
| 22 namespace content { | 22 namespace content { |
| 23 class GestureEventQueueTest; | 23 class GestureEventQueueTest; |
| 24 class InputRouter; | 24 class InputRouter; |
| 25 class MockRenderWidgetHost; | 25 class MockRenderWidgetHost; |
| 26 | 26 |
| 27 // Interface with which the GestureEventQueue can forward gesture events, and | 27 // Interface with which the GestureEventQueue can forward gesture events, and |
| 28 // dispatch gesture event responses. | 28 // dispatch gesture event responses. |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 // Time window in which to debounce scroll/fling ends. Note that an interval | 226 // Time window in which to debounce scroll/fling ends. Note that an interval |
| 227 // of zero effectively disables debouncing. | 227 // of zero effectively disables debouncing. |
| 228 base::TimeDelta debounce_interval_; | 228 base::TimeDelta debounce_interval_; |
| 229 | 229 |
| 230 DISALLOW_COPY_AND_ASSIGN(GestureEventQueue); | 230 DISALLOW_COPY_AND_ASSIGN(GestureEventQueue); |
| 231 }; | 231 }; |
| 232 | 232 |
| 233 } // namespace content | 233 } // namespace content |
| 234 | 234 |
| 235 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_QUEUE_H_ | 235 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_QUEUE_H_ |
| OLD | NEW |