Index: public/web/WebTouchPoint.h |
diff --git a/public/web/WebTouchPoint.h b/public/web/WebTouchPoint.h |
index fc0231a5cab40a187d777ce808c233115d16969b..7582a01361f131c60a9d99d1113bdd8e6fce98b8 100644 |
--- a/public/web/WebTouchPoint.h |
+++ b/public/web/WebTouchPoint.h |
@@ -45,6 +45,12 @@ public: |
, radiusY(0) |
, rotationAngle(0) |
, force(0) |
+ , tilt(0) |
+ , tiltRad(0) |
+ , tiltOrientation(0) |
+ , tiltOrientationRad(0) |
+ , tiltX(0) |
+ , tiltY(0) |
{ |
} |
@@ -66,6 +72,14 @@ public: |
float radiusY; |
float rotationAngle; |
float force; |
+ // TODO(e_hakkinen): Leave only either tilt and tiltOrientation, tiltRad and |
+ // tiltOrientationRad or tiltX and tiltY. |
+ float tilt; |
+ float tiltRad; |
+ float tiltOrientation; |
+ float tiltOrientationRad; |
+ float tiltX; |
mustaq
2015/06/17 19:43:28
I think we should use type 'int' for tiltX and til
USE eero AT chromium.org
2015/06/18 11:34:08
Done.
|
+ float tiltY; |
}; |
} // namespace blink |