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

Unified Diff: Source/core/dom/Touch.h

Issue 335413003: Added unprefixed version of Touch radius and force (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated review comments Created 6 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 | « LayoutTests/fast/events/touch/script-tests/document-create-touch.js ('k') | Source/core/dom/Touch.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Touch.h
diff --git a/Source/core/dom/Touch.h b/Source/core/dom/Touch.h
index c4896bbd4f29ad5f48feccb238ae2277e26ef9b7..fe09192ce415f0a934085b3a9445ca1023c56513 100644
--- a/Source/core/dom/Touch.h
+++ b/Source/core/dom/Touch.h
@@ -59,9 +59,12 @@ public:
double screenY() const { return m_screenPos.y(); }
double pageX() const { return m_pagePos.x(); }
double pageY() const { return m_pagePos.y(); }
+ double radiusX() const { return m_radius.width(); }
double webkitRadiusX() const { return m_radius.width(); }
+ double radiusY() const { return m_radius.height(); }
double webkitRadiusY() const { return m_radius.height(); }
float webkitRotationAngle() const { return m_rotationAngle; }
+ float force() const { return m_force; }
float webkitForce() const { return m_force; }
// Blink-internal methods
« no previous file with comments | « LayoutTests/fast/events/touch/script-tests/document-create-touch.js ('k') | Source/core/dom/Touch.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698