| Index: third_party/WebKit/Source/web/WebInputEventConversion.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebInputEventConversion.cpp b/third_party/WebKit/Source/web/WebInputEventConversion.cpp
|
| index ec142d90ae313fe30daa1d5916b65defd7b595db..9621085f36415da1ac97783a5ec242fbe590ffdb 100644
|
| --- a/third_party/WebKit/Source/web/WebInputEventConversion.cpp
|
| +++ b/third_party/WebKit/Source/web/WebInputEventConversion.cpp
|
| @@ -102,6 +102,7 @@ static unsigned toPlatformModifierFrom(WebMouseEvent::Button button)
|
|
|
| // MakePlatformMouseEvent -----------------------------------------------------
|
|
|
| +// TODO(mustaq): Add tests for this.
|
| PlatformMouseEventBuilder::PlatformMouseEventBuilder(Widget* widget, const WebMouseEvent& e)
|
| {
|
| // FIXME: Widget is always toplevel, unless it's a popup. We may be able
|
| @@ -115,6 +116,8 @@ PlatformMouseEventBuilder::PlatformMouseEventBuilder(Widget* widget, const WebMo
|
| m_timestamp = e.timeStampSeconds;
|
| m_clickCount = e.clickCount;
|
|
|
| + m_pointerProperties = static_cast<WebPointerProperties>(e);
|
| +
|
| switch (e.type) {
|
| case WebInputEvent::MouseMove:
|
| case WebInputEvent::MouseLeave: // synthesize a move event
|
| @@ -382,6 +385,7 @@ inline WebTouchPoint::State toWebTouchPointState(const AtomicString& type)
|
| return WebTouchPoint::StateUndefined;
|
| }
|
|
|
| +// TODO(mustaq): Add tests for this.
|
| PlatformTouchPointBuilder::PlatformTouchPointBuilder(Widget* widget, const WebTouchPoint& point)
|
| {
|
| m_pointerProperties = point;
|
|
|