Chromium Code Reviews| Index: third_party/WebKit/Source/core/events/PointerEventFactory.h |
| diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.h b/third_party/WebKit/Source/core/events/PointerEventFactory.h |
| index 70d3afe8ad0b87a9f3289a53cf44af8f9415aa32..6fbb12259b878057bdf21484dbf35001f0ff2188 100644 |
| --- a/third_party/WebKit/Source/core/events/PointerEventFactory.h |
| +++ b/third_party/WebKit/Source/core/events/PointerEventFactory.h |
| @@ -36,8 +36,8 @@ public: |
| PointerEvent* create(const AtomicString& type, |
| const PlatformTouchPoint&, PlatformEvent::Modifiers, |
| - const double width, const double height, |
| - const double clientX, const double clientY); |
| + const FloatSize& pointRadius, |
| + const FloatPoint& pagePoint); |
|
mustaq
2016/04/20 15:40:01
The name "pagePoint" seems logical to me, but plea
Navid Zolghadr
2016/04/25 15:48:32
It was the name of the variable we were passing. B
|
| PointerEvent* createPointerCancelEvent( |
| const int pointerId, const WebPointerProperties::PointerType); |
| @@ -73,6 +73,10 @@ public: |
| // Returns whether a pointer id exists and has at least one pressed button |
| bool isActiveButtonsState(const int); |
| + // Returns the id of the pointer event corresponding to the given pointer |
| + // properties if exists otherwise s_invalidId |
| + int getPointerEventId(const WebPointerProperties&); |
| + |
| private: |
| typedef WTF::UnsignedWithZeroKeyHashTraits<int> UnsignedHash; |
| typedef struct IncomingId : public std::pair<int, int> { |