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

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

Issue 1019023003: Improve Material ink effects (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 | « no previous file | sky/engine/core/events/GestureEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/GestureEvent.h
diff --git a/sky/engine/core/events/GestureEvent.h b/sky/engine/core/events/GestureEvent.h
index f67b18936584f21fbdd120967f5e5e2ad7acbe89..e6c46c539c32cb0e32aad966ea53f529083bbe0e 100644
--- a/sky/engine/core/events/GestureEvent.h
+++ b/sky/engine/core/events/GestureEvent.h
@@ -11,6 +11,7 @@
namespace blink {
struct GestureEventInit : public EventInit {
+ int primaryPointer = 0;
double x = 0;
double y = 0;
double dx = 0;
@@ -38,6 +39,7 @@ public:
~GestureEvent() override;
const AtomicString& interfaceName() const override;
+ int primaryPointer() const { return m_primaryPointer; }
eseidel 2015/03/19 18:00:36 dart 'get' has spoiled me.
float x() const { return m_x; }
float y() const { return m_y; }
float dx() const { return m_dx; }
@@ -50,6 +52,7 @@ private:
explicit GestureEvent(const WebGestureEvent&);
GestureEvent(const AtomicString& type, const GestureEventInit&);
+ int m_primaryPointer;
float m_x;
float m_y;
float m_dx;
« no previous file with comments | « no previous file | sky/engine/core/events/GestureEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698