| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_AURA_H_ |
| 6 #define UI_EVENTS_BLINK_WEB_INPUT_EVENT_AURA_H_ |
| 7 |
| 8 #include "base/callback.h" |
| 9 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 10 |
| 11 namespace gfx { |
| 12 class Point; |
| 13 } |
| 14 |
| 15 namespace ui { |
| 16 class GestureEvent; |
| 17 class KeyEvent; |
| 18 class LocatedEvent; |
| 19 class MouseEvent; |
| 20 class MouseWheelEvent; |
| 21 class ScrollEvent; |
| 22 class TouchEvent; |
| 23 |
| 24 blink::WebMouseEvent MakeWebMouseEvent( |
| 25 const MouseEvent& event, |
| 26 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>& |
| 27 screen_location_callback); |
| 28 blink::WebMouseWheelEvent MakeWebMouseWheelEvent( |
| 29 const MouseWheelEvent& event, |
| 30 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>& |
| 31 screen_location_callback); |
| 32 blink::WebMouseWheelEvent MakeWebMouseWheelEvent( |
| 33 const ScrollEvent& event, |
| 34 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>& |
| 35 screen_location_callback); |
| 36 blink::WebKeyboardEvent MakeWebKeyboardEvent(const KeyEvent& event); |
| 37 blink::WebGestureEvent MakeWebGestureEvent( |
| 38 const GestureEvent& event, |
| 39 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>& |
| 40 screen_location_callback); |
| 41 blink::WebGestureEvent MakeWebGestureEvent( |
| 42 const ScrollEvent& event, |
| 43 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>& |
| 44 screen_location_callback); |
| 45 blink::WebGestureEvent MakeWebGestureEventFlingCancel(); |
| 46 |
| 47 } // namespace ui |
| 48 |
| 49 #endif // CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_ |
| OLD | NEW |