Index: ui/events/blink/web_input_event_traits.h |
diff --git a/ui/events/blink/web_input_event_traits.h b/ui/events/blink/web_input_event_traits.h |
index 88ab04fdc727ba12fd2df146b1e2e683f71c5824..fdcef0a6b6bc9d210423883e6c10446ac04c8388 100644 |
--- a/ui/events/blink/web_input_event_traits.h |
+++ b/ui/events/blink/web_input_event_traits.h |
@@ -5,11 +5,15 @@ |
#ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_ |
#define UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_ |
-#include "third_party/WebKit/public/platform/WebGestureEvent.h" |
#include "third_party/WebKit/public/platform/WebInputEvent.h" |
#include "ui/events/blink/scoped_web_input_event.h" |
#include "ui/events/latency_info.h" |
+namespace blink { |
+class WebGestureEvent; |
+class WebMouseWheelEvent; |
+} |
+ |
namespace ui { |
// Utility class for performing operations on and with WebInputEvents. |
@@ -26,7 +30,7 @@ class WebInputEventTraits { |
// Return uniqueTouchEventId for WebTouchEvent, otherwise return 0. |
static uint32_t GetUniqueTouchEventId(const blink::WebInputEvent& event); |
static LatencyInfo CreateLatencyInfoForWebGestureEvent( |
- blink::WebGestureEvent event); |
+ const blink::WebGestureEvent& event); |
}; |
} // namespace ui |