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

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: Make Touch.tilt available behind the enable-experimental-web-platform-features flag 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..9b7128d5a3f8accafa3afd1bd3441c9a63c39582 100644
--- a/public/web/WebTouchPoint.h
+++ b/public/web/WebTouchPoint.h
@@ -44,6 +44,7 @@ public:
, radiusX(0)
, radiusY(0)
, rotationAngle(0)
+ , tilt(0)
, force(0)
{
}
@@ -65,6 +66,7 @@ public:
float radiusX;
float radiusY;
float rotationAngle;
+ float tilt;
float force;
};
« Source/core/page/EventHandler.cpp ('K') | « Source/web/WebInputEventConversion.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698