OLD | NEW |
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_TOUCH_EVENT_QUEUE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EVENT_QUEUE_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EVENT_QUEUE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EVENT_QUEUE_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "content/browser/renderer_host/event_with_latency_info.h" |
13 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
14 #include "content/port/browser/event_with_latency_info.h" | 15 #include "content/common/input/input_event_ack_state.h" |
15 #include "content/port/common/input_event_ack_state.h" | |
16 #include "third_party/WebKit/public/web/WebInputEvent.h" | 16 #include "third_party/WebKit/public/web/WebInputEvent.h" |
17 #include "ui/gfx/geometry/point_f.h" | 17 #include "ui/gfx/geometry/point_f.h" |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 class CoalescedWebTouchEvent; | 21 class CoalescedWebTouchEvent; |
22 | 22 |
23 // Interface with which TouchEventQueue can forward touch events, and dispatch | 23 // Interface with which TouchEventQueue can forward touch events, and dispatch |
24 // touch event responses. | 24 // touch event responses. |
25 class CONTENT_EXPORT TouchEventQueueClient { | 25 class CONTENT_EXPORT TouchEventQueueClient { |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 // setting for experimentation, but we may evolve it into an app-controlled | 239 // setting for experimentation, but we may evolve it into an app-controlled |
240 // mode. | 240 // mode. |
241 const TouchScrollingMode touch_scrolling_mode_; | 241 const TouchScrollingMode touch_scrolling_mode_; |
242 | 242 |
243 DISALLOW_COPY_AND_ASSIGN(TouchEventQueue); | 243 DISALLOW_COPY_AND_ASSIGN(TouchEventQueue); |
244 }; | 244 }; |
245 | 245 |
246 } // namespace content | 246 } // namespace content |
247 | 247 |
248 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EVENT_QUEUE_H_ | 248 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EVENT_QUEUE_H_ |
OLD | NEW |