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

Unified Diff: sky/engine/core/events/PointerEvent.h

Issue 887793002: Implement PointerEvent#dx (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Another nit 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/engine/core/events/PointerEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/PointerEvent.h
diff --git a/sky/engine/core/events/PointerEvent.h b/sky/engine/core/events/PointerEvent.h
index fc2f624f00d388b82f4a228b2097180f49b4616b..f23ec73d7d7a26a326525d2ce6787dc5eabf5433 100644
--- a/sky/engine/core/events/PointerEvent.h
+++ b/sky/engine/core/events/PointerEvent.h
@@ -77,6 +77,9 @@ public:
double orientation() const { return m_orientation; }
double tilt() const { return m_tilt; }
+ void setDX(double dx) { m_dx = dx; }
+ void setDY(double dy) { m_dy = dy; }
+
private:
PointerEvent();
explicit PointerEvent(const WebPointerEvent& event);
« no previous file with comments | « no previous file | sky/engine/core/events/PointerEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698