Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(710)

Unified Diff: third_party/WebKit/Source/core/events/PointerEvent.h

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/events/PointerEvent.h
diff --git a/third_party/WebKit/Source/core/events/PointerEvent.h b/third_party/WebKit/Source/core/events/PointerEvent.h
index a03c3fb8c61caf668933455f15cbc11b3494c60f..26faf54384eebe9a2d62e2aa65ce6008278bef12 100644
--- a/third_party/WebKit/Source/core/events/PointerEvent.h
+++ b/third_party/WebKit/Source/core/events/PointerEvent.h
@@ -35,10 +35,13 @@ class PointerEvent final : public MouseEvent {
EventDispatchMediator* createMediator() override;
+ HeapVector<Member<PointerEvent>> getCoalescedEvents() const;
+
DECLARE_VIRTUAL_TRACE();
private:
PointerEvent(const AtomicString&, const PointerEventInit&);
+ PointerEvent(const AtomicString&, const PointerEventInit&, bool);
int m_pointerId;
double m_width;
@@ -48,6 +51,8 @@ class PointerEvent final : public MouseEvent {
long m_tiltY;
String m_pointerType;
bool m_isPrimary;
+
+ HeapVector<Member<PointerEvent>> m_coalescedEvents;
};
class PointerEventDispatchMediator final : public EventDispatchMediator {

Powered by Google App Engine
This is Rietveld 408576698