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

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: 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
Index: Source/core/dom/Touch.h
diff --git a/Source/core/dom/Touch.h b/Source/core/dom/Touch.h
index c4896bbd4f29ad5f48feccb238ae2277e26ef9b7..fce2d846c5f1f6bbdb5b6cca061f362a034d6349 100644
--- a/Source/core/dom/Touch.h
+++ b/Source/core/dom/Touch.h
@@ -59,6 +59,9 @@ 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(); }
Rick Byers 2014/06/22 16:57:59 nit: put each new line directly above it's prefixe
gnana 2014/06/23 11:08:57 Done.
+ double radiusY() const { return m_radius.height(); }
+ float force() const { return m_force; }
double webkitRadiusX() const { return m_radius.width(); }
double webkitRadiusY() const { return m_radius.height(); }
float webkitRotationAngle() const { return m_rotationAngle; }

Powered by Google App Engine
This is Rietveld 408576698