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

Unified Diff: public/web/WebTouchPoint.h

Issue 750013004: Added experimental tilt and tiltDirection to the Touch interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added basic layout-tests for tilt, tiltDirection Created 5 years, 10 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: public/web/WebTouchPoint.h
diff --git a/public/web/WebTouchPoint.h b/public/web/WebTouchPoint.h
index fc0231a5cab40a187d777ce808c233115d16969b..acdc17cf3801dae134bede2f9665604ee2d6d681 100644
--- a/public/web/WebTouchPoint.h
+++ b/public/web/WebTouchPoint.h
@@ -45,6 +45,8 @@ public:
, radiusY(0)
, rotationAngle(0)
, force(0)
+ , tilt(0)
+ , tiltDirection(0)
{
}
@@ -66,6 +68,8 @@ public:
float radiusY;
float rotationAngle;
float force;
+ float tilt;
+ float tiltDirection;
};
} // namespace blink
« Source/web/WebInputEventConversion.cpp ('K') | « Source/web/WebInputEventConversion.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698