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

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

Issue 1144313003: Added PointerEvent firing on touch events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/core/events/PointerEvent.h
diff --git a/Source/core/events/PointerEvent.h b/Source/core/events/PointerEvent.h
index 2bb6b8f3dcbb78bae58baf7212e3529eecdcff32..3f8b8649999efb97f206de374261dc7769e9e712 100644
--- a/Source/core/events/PointerEvent.h
+++ b/Source/core/events/PointerEvent.h
@@ -51,6 +51,17 @@ private:
bool m_isPrimary;
};
+
+class PointerEventDispatchMediator final : public EventDispatchMediator {
+public:
+ static PassRefPtrWillBeRawPtr<PointerEventDispatchMediator> create(PassRefPtrWillBeRawPtr<PointerEvent>);
+
+private:
+ explicit PointerEventDispatchMediator(PassRefPtrWillBeRawPtr<PointerEvent>);
+ PointerEvent& event() const;
+ virtual bool dispatchEvent(EventDispatcher&) const override;
+};
+
DEFINE_EVENT_TYPE_CASTS(PointerEvent);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698