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; |