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

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

Issue 2510133002: Add getCoalescedEvents API to PointerEvent (Closed)
Patch Set: add comment about the two added functions 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..e6479485554f8142d250c04452152546c9a99f5c 100644
--- a/third_party/WebKit/Source/core/events/PointerEvent.h
+++ b/third_party/WebKit/Source/core/events/PointerEvent.h
@@ -11,7 +11,7 @@
namespace blink {
-class PointerEvent final : public MouseEvent {
+class CORE_EXPORT PointerEvent final : public MouseEvent {
DEFINE_WRAPPERTYPEINFO();
public:
@@ -35,6 +35,8 @@ class PointerEvent final : public MouseEvent {
EventDispatchMediator* createMediator() override;
+ HeapVector<Member<PointerEvent>> getCoalescedEvents() const;
+
DECLARE_VIRTUAL_TRACE();
private:
@@ -48,6 +50,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