| Index: third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| index 8271c17c3c1e74b2c7c68bce0f96489f14e1e84c..c7ea47128bdca0d0a62f243e737f1c4282f2f278 100644
|
| --- a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| +++ b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
|
| @@ -129,6 +129,9 @@ void updateTouchPointerEventInit(const PlatformTouchPoint& touchPoint,
|
| getPointerEventPressure(touchPoint.force(), pointerEventInit->buttons()));
|
| pointerEventInit->setTiltX(touchPoint.pointerProperties().tiltX);
|
| pointerEventInit->setTiltY(touchPoint.pointerProperties().tiltY);
|
| + pointerEventInit->setTangentialPressure(
|
| + touchPoint.pointerProperties().tangentialPressure);
|
| + pointerEventInit->setTwist(touchPoint.pointerProperties().twist);
|
| }
|
|
|
| void updateMousePointerEventInit(const PlatformMouseEvent& mouseEvent,
|
| @@ -159,6 +162,9 @@ void updateMousePointerEventInit(const PlatformMouseEvent& mouseEvent,
|
| mouseEvent.pointerProperties().force, pointerEventInit->buttons()));
|
| pointerEventInit->setTiltX(mouseEvent.pointerProperties().tiltX);
|
| pointerEventInit->setTiltY(mouseEvent.pointerProperties().tiltY);
|
| + pointerEventInit->setTangentialPressure(
|
| + mouseEvent.pointerProperties().tangentialPressure);
|
| + pointerEventInit->setTwist(mouseEvent.pointerProperties().twist);
|
| }
|
|
|
| } // namespace
|
| @@ -369,6 +375,8 @@ PointerEvent* PointerEventFactory::createPointerEventFrom(
|
| pointerEventInit.setPressure(pointerEvent->pressure());
|
| pointerEventInit.setTiltX(pointerEvent->tiltX());
|
| pointerEventInit.setTiltY(pointerEvent->tiltY());
|
| + pointerEventInit.setTangentialPressure(pointerEvent->tangentialPressure());
|
| + pointerEventInit.setTwist(pointerEvent->twist());
|
| pointerEventInit.setView(pointerEvent->view());
|
|
|
| setEventSpecificFields(pointerEventInit, type);
|
|
|