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

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

Issue 2889733002: Set the target lazily for the coalesced events (Closed)
Patch Set: Add missing override Created 3 years, 7 months 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 971f7497687edc6d5581c133ba2af0a16350ba97..1b774cde123580fef2fac4b40b7a01d95f14387b 100644
--- a/third_party/WebKit/Source/core/events/PointerEvent.h
+++ b/third_party/WebKit/Source/core/events/PointerEvent.h
@@ -40,8 +40,9 @@ class CORE_EXPORT PointerEvent final : public MouseEvent {
bool IsPointerEvent() const override;
EventDispatchMediator* CreateMediator() override;
+ void ReceivedTarget() override;
- HeapVector<Member<PointerEvent>> getCoalescedEvents() const;
+ HeapVector<Member<PointerEvent>> getCoalescedEvents();
DECLARE_VIRTUAL_TRACE();
@@ -61,6 +62,8 @@ class CORE_EXPORT PointerEvent final : public MouseEvent {
String pointer_type_;
bool is_primary_;
+ bool coalesced_events_targets_dirty_;
+
HeapVector<Member<PointerEvent>> coalesced_events_;
};
« no previous file with comments | « third_party/WebKit/Source/core/events/MouseEvent.h ('k') | third_party/WebKit/Source/core/events/PointerEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698