| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_WEB_INPUT_EVENT_H_ | 5 #ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_H_ |
| 6 #define UI_EVENTS_BLINK_WEB_INPUT_EVENT_H_ | 6 #define UI_EVENTS_BLINK_WEB_INPUT_EVENT_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "third_party/WebKit/public/platform/WebGestureEvent.h" | 9 #include "third_party/WebKit/public/platform/WebGestureEvent.h" |
| 10 #include "third_party/WebKit/public/platform/WebInputEvent.h" | 10 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 11 #include "third_party/WebKit/public/platform/WebKeyboardEvent.h" |
| 11 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" | 12 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" |
| 13 #include "third_party/WebKit/public/platform/WebTouchEvent.h" |
| 12 | 14 |
| 13 namespace gfx { | 15 namespace gfx { |
| 14 class Point; | 16 class Point; |
| 15 } | 17 } |
| 16 | 18 |
| 17 namespace ui { | 19 namespace ui { |
| 18 class GestureEvent; | 20 class GestureEvent; |
| 19 class KeyEvent; | 21 class KeyEvent; |
| 20 class LocatedEvent; | 22 class LocatedEvent; |
| 21 class MouseEvent; | 23 class MouseEvent; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 51 screen_location_callback); | 53 screen_location_callback); |
| 52 blink::WebGestureEvent MakeWebGestureEvent( | 54 blink::WebGestureEvent MakeWebGestureEvent( |
| 53 const ScrollEvent& event, | 55 const ScrollEvent& event, |
| 54 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>& | 56 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>& |
| 55 screen_location_callback); | 57 screen_location_callback); |
| 56 blink::WebGestureEvent MakeWebGestureEventFlingCancel(); | 58 blink::WebGestureEvent MakeWebGestureEventFlingCancel(); |
| 57 | 59 |
| 58 } // namespace ui | 60 } // namespace ui |
| 59 | 61 |
| 60 #endif // UI_EVENTS_BLINK_WEB_INPUT_EVENT_H_ | 62 #endif // UI_EVENTS_BLINK_WEB_INPUT_EVENT_H_ |
| OLD | NEW |