Chromium Code Reviews| Index: public/web/WebTouchPoint.h |
| diff --git a/public/web/WebTouchPoint.h b/public/web/WebTouchPoint.h |
| index fc0231a5cab40a187d777ce808c233115d16969b..b968ef1f68723d39c22b0516e0da3f761aee07b0 100644 |
| --- a/public/web/WebTouchPoint.h |
| +++ b/public/web/WebTouchPoint.h |
| @@ -33,18 +33,18 @@ |
| #include "../platform/WebCommon.h" |
| #include "../platform/WebFloatPoint.h" |
| +#include "WebPointerProperties.h" |
| namespace blink { |
| -class WebTouchPoint { |
| +// TODO(e_hakkinen): Replace WebTouchEvent with WebPointerEvent and remove |
| +// WebTouchEvent and this. |
| +class WebTouchPoint : public WebPointerProperties { |
|
mustaq
2015/07/07 18:23:10
May be I am missing something, but I don't see how
|
| public: |
| WebTouchPoint() |
| - : id(0) |
| + : WebPointerProperties() |
| , state(StateUndefined) |
| - , radiusX(0) |
| - , radiusY(0) |
| , rotationAngle(0) |
| - , force(0) |
| { |
| } |
| @@ -57,15 +57,13 @@ public: |
| StateCancelled, |
| }; |
| - int id; |
| State state; |
| + |
| + // TODO(e_hakkinen): Move position fields to WebPointerProperties. |
| WebFloatPoint screenPosition; |
| WebFloatPoint position; |
| - float radiusX; |
| - float radiusY; |
| float rotationAngle; |
| - float force; |
| }; |
| } // namespace blink |