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

Unified Diff: ui/events/gesture_detection/motion_event_generic.cc

Issue 531133002: Revert of Completed webkit radiusX, radiusY and rotationAngle handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: ui/events/gesture_detection/motion_event_generic.cc
diff --git a/ui/events/gesture_detection/motion_event_generic.cc b/ui/events/gesture_detection/motion_event_generic.cc
index eff0345024a7d60ebd25cb48a71c98712d75d14a..b76a37e05dfbb2fdcd4edd4662fc51a67a0568bf 100644
--- a/ui/events/gesture_detection/motion_event_generic.cc
+++ b/ui/events/gesture_detection/motion_event_generic.cc
@@ -16,9 +16,7 @@
raw_x(0),
raw_y(0),
pressure(0),
- touch_major(0),
- touch_minor(0),
- orientation(0) {
+ touch_major(0) {
}
PointerProperties::PointerProperties(float x, float y)
@@ -29,9 +27,7 @@
raw_x(x),
raw_y(y),
pressure(0),
- touch_major(0),
- touch_minor(0),
- orientation(0) {
+ touch_major(0) {
}
MotionEventGeneric::MotionEventGeneric()
@@ -107,16 +103,6 @@
return pointers_[pointer_index].touch_major;
}
-float MotionEventGeneric::GetTouchMinor(size_t pointer_index) const {
- DCHECK_LT(pointer_index, pointers_->size());
- return pointers_[pointer_index].touch_minor;
-}
-
-float MotionEventGeneric::GetOrientation(size_t pointer_index) const {
- DCHECK_LT(pointer_index, pointers_->size());
- return pointers_[pointer_index].orientation;
-}
-
float MotionEventGeneric::GetPressure(size_t pointer_index) const {
DCHECK_LT(pointer_index, pointers_->size());
return pointers_[pointer_index].pressure;
« no previous file with comments | « ui/events/gesture_detection/motion_event_generic.h ('k') | ui/events/gestures/gesture_provider_aura_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698