| Index: third_party/WebKit/public/platform/WebPointerProperties.h
|
| diff --git a/third_party/WebKit/public/platform/WebPointerProperties.h b/third_party/WebKit/public/platform/WebPointerProperties.h
|
| index 0373dac2f1f564877baaa8bca80f82ff6c7109ac..86f2960081b8227573c54db16384cacb5094edbd 100644
|
| --- a/third_party/WebKit/public/platform/WebPointerProperties.h
|
| +++ b/third_party/WebKit/public/platform/WebPointerProperties.h
|
| @@ -22,6 +22,8 @@ class WebPointerProperties {
|
| force(std::numeric_limits<float>::quiet_NaN()),
|
| tiltX(0),
|
| tiltY(0),
|
| + tangentialPressure(0.0f),
|
| + twist(0),
|
| button(Button::NoButton),
|
| pointerType(PointerType::Unknown) {}
|
|
|
| @@ -58,6 +60,16 @@ class WebPointerProperties {
|
| int tiltX;
|
| int tiltY;
|
|
|
| + // The normalized tangential pressure (or barrel pressure), typically set by
|
| + // an additional control of the stylus, which has a range of [-1,1], where 0
|
| + // is the neutral position of the control. Always 0 if the device does not
|
| + // support it.
|
| + float tangentialPressure;
|
| +
|
| + // The clockwise rotation of a pen stylus around its own major axis, in
|
| + // degrees in the range [0,359]. Always 0 if the device does not support it.
|
| + int twist;
|
| +
|
| Button button;
|
| PointerType pointerType;
|
| };
|
|
|