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

Unified Diff: Source/platform/PlatformTouchPoint.h

Issue 1192563002: Pass real tilt information to PointerEvents. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | Source/web/WebInputEventConversion.cpp » ('j') | Source/web/WebInputEventConversion.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/PlatformTouchPoint.h
diff --git a/Source/platform/PlatformTouchPoint.h b/Source/platform/PlatformTouchPoint.h
index 3f9ecec27ae3dc5daf0526ac0fb62bf50d046f76..e813e6a6d7821f52dc0eae12e6d5b29ca0475ad8 100644
--- a/Source/platform/PlatformTouchPoint.h
+++ b/Source/platform/PlatformTouchPoint.h
@@ -50,6 +50,7 @@ public:
FloatSize radius() const { return m_radius; }
float rotationAngle() const { return m_rotationAngle; }
float force() const { return m_force; }
+ FloatPoint tilt() const { return m_tilt; }
protected:
int m_id;
@@ -59,6 +60,7 @@ protected:
FloatSize m_radius;
float m_rotationAngle;
float m_force;
+ FloatPoint m_tilt;
};
}
« no previous file with comments | « no previous file | Source/web/WebInputEventConversion.cpp » ('j') | Source/web/WebInputEventConversion.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698