Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: ui/events/blink/web_input_event.h

Issue 2270953002: Merge the mojo blink type converter into ui/events/blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/blink/web_input_event.h
diff --git a/ui/events/blink/web_input_event.h b/ui/events/blink/web_input_event.h
index ac4dd017dfc68bea96cd5977b544531fc5c83329..6bcdf0ff4b35526f16ddd05e9a5760a31d28eb59 100644
--- a/ui/events/blink/web_input_event.h
+++ b/ui/events/blink/web_input_event.h
@@ -18,8 +18,8 @@ class KeyEvent;
class LocatedEvent;
class MouseEvent;
class MouseWheelEvent;
+class PointerEvent;
class ScrollEvent;
-class TouchEvent;
// Several methods take a |screen_location_callback| which should translate the
// provided coordinates relative to the hosting window, rather than the top
@@ -53,6 +53,10 @@ blink::WebGestureEvent MakeWebGestureEvent(
const base::Callback<gfx::Point(const ui::LocatedEvent& event)>&
screen_location_callback);
blink::WebGestureEvent MakeWebGestureEventFlingCancel();
+blink::WebTouchEvent MakeWebTouchEvent(
+ const PointerEvent& event,
+ const base::Callback<gfx::Point(const ui::LocatedEvent& event)>&
+ screen_location_callback);
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698