diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-04-21 14:53:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-21 14:53:24 +0200 |
commit | 844da4597f92c4d603e8df2c1f5c8b23f31904f0 (patch) | |
tree | 3d8fe3c6bec0d7e4538affe5efa6fd3294a72f86 /layout/base/nsIPresShell.h | |
parent | fb37ed0a373a0bbc29bbe6e20ca684e856185c5c (diff) | |
parent | 09f456b2808224e7707e51bfab8957ef067154e4 (diff) | |
download | UXP-844da4597f92c4d603e8df2c1f5c8b23f31904f0.tar UXP-844da4597f92c4d603e8df2c1f5c8b23f31904f0.tar.gz UXP-844da4597f92c4d603e8df2c1f5c8b23f31904f0.tar.lz UXP-844da4597f92c4d603e8df2c1f5c8b23f31904f0.tar.xz UXP-844da4597f92c4d603e8df2c1f5c8b23f31904f0.zip |
Merge pull request #221 from janekptacijarabaci/js_dom_pointer_events_1
moebius#71: Pointer Events - improvements
Diffstat (limited to 'layout/base/nsIPresShell.h')
-rw-r--r-- | layout/base/nsIPresShell.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/layout/base/nsIPresShell.h b/layout/base/nsIPresShell.h index cbbae0e8f..5990402ed 100644 --- a/layout/base/nsIPresShell.h +++ b/layout/base/nsIPresShell.h @@ -1298,11 +1298,11 @@ public: } }; - static void DispatchGotOrLostPointerCaptureEvent(bool aIsGotCapture, - uint32_t aPointerId, - uint16_t aPointerType, - bool aIsPrimary, - nsIContent* aCaptureTarget); + static void DispatchGotOrLostPointerCaptureEvent( + bool aIsGotCapture, + const mozilla::WidgetPointerEvent* aPointerEvent, + nsIContent* aCaptureTarget); + static PointerCaptureInfo* GetPointerCaptureInfo(uint32_t aPointerId); static void SetPointerCapturingContent(uint32_t aPointerId, nsIContent* aContent); @@ -1311,8 +1311,8 @@ public: // CheckPointerCaptureState checks cases, when got/lostpointercapture events // should be fired. - static void CheckPointerCaptureState(uint32_t aPointerId, - uint16_t aPointerType, bool aIsPrimary); + static void CheckPointerCaptureState( + const mozilla::WidgetPointerEvent* aPointerEvent); // GetPointerInfo returns true if pointer with aPointerId is situated in // device, false otherwise. |