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_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_ | 5 #ifndef CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_ |
6 #define CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_ | 6 #define CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 #include "third_party/WebKit/public/platform/WebGestureEvent.h" | 11 #include "third_party/WebKit/public/platform/WebGestureEvent.h" |
12 #include "third_party/WebKit/public/platform/WebInputEvent.h" | 12 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 13 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" |
13 #include "ui/events/blink/blink_event_util.h" | 14 #include "ui/events/blink/blink_event_util.h" |
14 #include "ui/events/blink/scoped_web_input_event.h" | 15 #include "ui/events/blink/scoped_web_input_event.h" |
15 #include "ui/events/latency_info.h" | 16 #include "ui/events/latency_info.h" |
16 | 17 |
17 namespace content { | 18 namespace content { |
18 | 19 |
19 class ScopedWebInputEventWithLatencyInfo { | 20 class ScopedWebInputEventWithLatencyInfo { |
20 public: | 21 public: |
21 ScopedWebInputEventWithLatencyInfo(ui::ScopedWebInputEvent, | 22 ScopedWebInputEventWithLatencyInfo(ui::ScopedWebInputEvent, |
22 const ui::LatencyInfo&); | 23 const ui::LatencyInfo&); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 typedef EventWithLatencyInfo<blink::WebMouseWheelEvent> | 86 typedef EventWithLatencyInfo<blink::WebMouseWheelEvent> |
86 MouseWheelEventWithLatencyInfo; | 87 MouseWheelEventWithLatencyInfo; |
87 typedef EventWithLatencyInfo<blink::WebMouseEvent> | 88 typedef EventWithLatencyInfo<blink::WebMouseEvent> |
88 MouseEventWithLatencyInfo; | 89 MouseEventWithLatencyInfo; |
89 typedef EventWithLatencyInfo<blink::WebTouchEvent> | 90 typedef EventWithLatencyInfo<blink::WebTouchEvent> |
90 TouchEventWithLatencyInfo; | 91 TouchEventWithLatencyInfo; |
91 | 92 |
92 } // namespace content | 93 } // namespace content |
93 | 94 |
94 #endif // CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_ | 95 #endif // CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_ |
OLD | NEW |