| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_ | 5 #ifndef UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_ |
| 6 #define UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_ | 6 #define UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "third_party/WebKit/public/platform/WebInputEvent.h" | 10 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 11 #include "ui/events/gesture_detection/motion_event.h" | 11 #include "ui/events/gesture_detection/motion_event.h" |
| 12 | 12 |
| 13 namespace base { | |
| 14 class TimeDelta; | |
| 15 } | |
| 16 | |
| 17 namespace blink { | 13 namespace blink { |
| 18 class WebGestureEvent; | 14 class WebGestureEvent; |
| 19 class WebInputEvent; | 15 class WebInputEvent; |
| 20 class WebTouchEvent; | 16 class WebTouchEvent; |
| 21 } | 17 } |
| 22 | 18 |
| 23 namespace gfx { | 19 namespace gfx { |
| 24 class PointF; | 20 class PointF; |
| 25 class Vector2d; | 21 class Vector2d; |
| 26 } | 22 } |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 MotionEvent::ToolType tool_type); | 62 MotionEvent::ToolType tool_type); |
| 67 | 63 |
| 68 int WebEventModifiersToEventFlags(int modifiers); | 64 int WebEventModifiersToEventFlags(int modifiers); |
| 69 | 65 |
| 70 blink::WebInputEvent::Modifiers DomCodeToWebInputEventModifiers( | 66 blink::WebInputEvent::Modifiers DomCodeToWebInputEventModifiers( |
| 71 ui::DomCode code); | 67 ui::DomCode code); |
| 72 | 68 |
| 73 } // namespace ui | 69 } // namespace ui |
| 74 | 70 |
| 75 #endif // UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_ | 71 #endif // UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_ |
| OLD | NEW |