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

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

Issue 823873004: Add basic PointerEvent support in NewEventHandler (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Actually add NewEventHandler 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
Index: sky/engine/core/events/PointerEvent.h
diff --git a/sky/engine/core/events/PointerEvent.h b/sky/engine/core/events/PointerEvent.h
index 5c2c0d41213257eacf8e96a0547ebcfb7efcb0db..86dbd438cead2cccebc77b72b40a561e1447a1bc 100644
--- a/sky/engine/core/events/PointerEvent.h
+++ b/sky/engine/core/events/PointerEvent.h
@@ -77,6 +77,8 @@ public:
double orientation() const { return m_orientation; }
double tilt() const { return m_tilt; }
+ void setPrimary(bool primary) { m_primary = primary; }
esprehn 2015/01/21 02:47:51 Does this change dynamically? What happens if two
abarth-chromium 2015/01/21 07:03:26 Currently everything is marked as primary. It's s
abarth-chromium 2015/01/23 02:25:09 I removed this for now. When we have more of this
+
private:
PointerEvent();
explicit PointerEvent(const WebPointerEvent& event);

Powered by Google App Engine
This is Rietveld 408576698