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

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

Issue 854603004: Sky events should be in dips rather than ddpxs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | 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 4d2332a79fa9d93aa06a7eabe76cecf01f13e976..323361eb660f8b9431b2a8a708eb830c4f058f91 100644
--- a/sky/viewer/converters/input_event_types.h
+++ b/sky/viewer/converters/input_event_types.h
@@ -12,13 +12,10 @@ namespace blink {
class WebInputEvent;
}
-namespace mojo {
+namespace sky {
-template <>
-struct TypeConverter<scoped_ptr<blink::WebInputEvent>, EventPtr> {
- static scoped_ptr<blink::WebInputEvent> Convert(const EventPtr& input);
-};
-
-} // namespace mojo
+scoped_ptr<blink::WebInputEvent> ConvertEvent(const mojo::EventPtr& event,
+ float device_pixel_ratio);
+}
#endif // SKY_VIEWER_CONVERTERS_INPUT_EVENT_TYPES_H_
« no previous file with comments | « no previous file | sky/viewer/converters/input_event_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698