| 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/web/WebInputEvent.h" | 11 #include "third_party/WebKit/public/platform/WebGestureEvent.h" |
| 12 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 12 #include "ui/events/blink/scoped_web_input_event.h" | 13 #include "ui/events/blink/scoped_web_input_event.h" |
| 13 #include "ui/events/latency_info.h" | 14 #include "ui/events/latency_info.h" |
| 14 | 15 |
| 15 namespace content { | 16 namespace content { |
| 16 namespace internal { | 17 namespace internal { |
| 17 | 18 |
| 18 bool CONTENT_EXPORT CanCoalesce(const blink::WebMouseEvent& event_to_coalesce, | 19 bool CONTENT_EXPORT CanCoalesce(const blink::WebMouseEvent& event_to_coalesce, |
| 19 const blink::WebMouseEvent& event); | 20 const blink::WebMouseEvent& event); |
| 20 void CONTENT_EXPORT Coalesce(const blink::WebMouseEvent& event_to_coalesce, | 21 void CONTENT_EXPORT Coalesce(const blink::WebMouseEvent& event_to_coalesce, |
| 21 blink::WebMouseEvent* event); | 22 blink::WebMouseEvent* event); |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 typedef EventWithLatencyInfo<blink::WebMouseWheelEvent> | 105 typedef EventWithLatencyInfo<blink::WebMouseWheelEvent> |
| 105 MouseWheelEventWithLatencyInfo; | 106 MouseWheelEventWithLatencyInfo; |
| 106 typedef EventWithLatencyInfo<blink::WebMouseEvent> | 107 typedef EventWithLatencyInfo<blink::WebMouseEvent> |
| 107 MouseEventWithLatencyInfo; | 108 MouseEventWithLatencyInfo; |
| 108 typedef EventWithLatencyInfo<blink::WebTouchEvent> | 109 typedef EventWithLatencyInfo<blink::WebTouchEvent> |
| 109 TouchEventWithLatencyInfo; | 110 TouchEventWithLatencyInfo; |
| 110 | 111 |
| 111 } // namespace content | 112 } // namespace content |
| 112 | 113 |
| 113 #endif // CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_ | 114 #endif // CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_ |
| OLD | NEW |