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

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

Issue 1774913004: Firing got/lost pointer capture events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Variable rename Created 4 years, 9 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/PointerEventFactory.h
diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.h b/third_party/WebKit/Source/core/events/PointerEventFactory.h
index 9e342217270e39a2f8f6dfefbc6292902bd4f70a..26f304298492ef590bd524ddfa0dac03437c94b6 100644
--- a/third_party/WebKit/Source/core/events/PointerEventFactory.h
+++ b/third_party/WebKit/Source/core/events/PointerEventFactory.h
@@ -39,12 +39,18 @@ public:
const double width, const double height,
const double clientX, const double clientY);
- PassRefPtrWillBeRawPtr<PointerEvent> createPointerCancel(
+ PassRefPtrWillBeRawPtr<PointerEvent> createPointerCancelEvent(
const PlatformTouchPoint&);
- PassRefPtrWillBeRawPtr<PointerEvent> create(
+ // For creating capture events (i.e got/lostpointercapture)
+ PassRefPtrWillBeRawPtr<PointerEvent> createPointerCaptureEvent(
+ PassRefPtrWillBeRawPtr<PointerEvent>,
+ const AtomicString&);
+
+ // For creating transition events (i.e pointerout/leave/over/enter)
+ PassRefPtrWillBeRawPtr<PointerEvent> createPointerTransitionEvent(
PassRefPtrWillBeRawPtr<PointerEvent>,
- const AtomicString& type,
+ const AtomicString&,
PassRefPtrWillBeRawPtr<EventTarget>);
// Clear all the existing ids.
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.idl ('k') | third_party/WebKit/Source/core/events/PointerEventFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698