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

Unified Diff: sky/viewer/converters/input_event_types.h

Issue 1033513003: Cleans up events to just the parts we're actually using (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cleanup Created 5 years, 9 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
« no previous file with comments | « services/native_viewport/platform_viewport_x11.cc ('k') | sky/viewer/converters/input_event_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/converters/input_event_types.h
diff --git a/sky/viewer/converters/input_event_types.h b/sky/viewer/converters/input_event_types.h
index 323361eb660f8b9431b2a8a708eb830c4f058f91..f62bcf00ccadf7b7ce6c4627a68109cd68eb89b5 100644
--- a/sky/viewer/converters/input_event_types.h
+++ b/sky/viewer/converters/input_event_types.h
@@ -12,10 +12,17 @@ namespace blink {
class WebInputEvent;
}
+namespace ui {
+class GestureEvent;
+}
+
namespace sky {
scoped_ptr<blink::WebInputEvent> ConvertEvent(const mojo::EventPtr& event,
float device_pixel_ratio);
+
+scoped_ptr<blink::WebInputEvent> ConvertEvent(const ui::GestureEvent& event,
+ float device_pixel_ratio);
}
#endif // SKY_VIEWER_CONVERTERS_INPUT_EVENT_TYPES_H_
« no previous file with comments | « services/native_viewport/platform_viewport_x11.cc ('k') | sky/viewer/converters/input_event_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698