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

Unified Diff: public/platform/WebPointerProperties.h

Issue 1192563002: Pass real tilt information to PointerEvents. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 5 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 | « Source/web/WebInputEventConversion.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebPointerProperties.h
diff --git a/public/platform/WebPointerProperties.h b/public/platform/WebPointerProperties.h
index d75bdc8eef918eb064728d55632dba838c8f9f6b..e8938c4fe3f4672d6e37c67a1a283e9b784a8c8d 100644
--- a/public/platform/WebPointerProperties.h
+++ b/public/platform/WebPointerProperties.h
@@ -18,6 +18,8 @@ public:
: button(ButtonNone)
, id(0)
, force(0.f)
+ , tiltX(0)
+ , tiltY(0)
{
}
@@ -32,6 +34,8 @@ public:
int id;
float force;
+ int tiltX;
Rick Byers 2015/07/27 14:14:19 Since these are new, can you please add some comme
USE eero AT chromium.org 2015/07/27 17:53:36 Done.
+ int tiltY;
};
} // namespace blink
« no previous file with comments | « Source/web/WebInputEventConversion.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698