diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-04-29 17:02:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-29 17:02:53 +0200 |
commit | 8c4783919b1955c08c9e7107a2e58a1501c4fdad (patch) | |
tree | c650c55e20f4833329e4e5061e950da773a69189 /dom/events/EventStateManager.h | |
parent | 32c067857c532bf651e5e6946ec1a67772eb2252 (diff) | |
parent | 80f9b75efa08ea449937298b791ff278cbf5fa22 (diff) | |
download | UXP-8c4783919b1955c08c9e7107a2e58a1501c4fdad.tar UXP-8c4783919b1955c08c9e7107a2e58a1501c4fdad.tar.gz UXP-8c4783919b1955c08c9e7107a2e58a1501c4fdad.tar.lz UXP-8c4783919b1955c08c9e7107a2e58a1501c4fdad.tar.xz UXP-8c4783919b1955c08c9e7107a2e58a1501c4fdad.zip |
Merge pull request #295 from janekptacijarabaci/_native_52ESR_events_auxclick_1
UI Events - implement auxclick
Diffstat (limited to 'dom/events/EventStateManager.h')
-rw-r--r-- | dom/events/EventStateManager.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dom/events/EventStateManager.h b/dom/events/EventStateManager.h index 49ecf0586..d0461e7fa 100644 --- a/dom/events/EventStateManager.h +++ b/dom/events/EventStateManager.h @@ -415,6 +415,13 @@ protected: */ void UpdateDragDataTransfer(WidgetDragEvent* dragEvent); + static nsresult InitAndDispatchClickEvent(WidgetMouseEvent* aEvent, + nsEventStatus* aStatus, + EventMessage aMessage, + nsIPresShell* aPresShell, + nsIContent* aMouseTarget, + nsWeakFrame aCurrentTarget, + bool aNoContentDispatch); nsresult SetClickCount(WidgetMouseEvent* aEvent, nsEventStatus* aStatus); nsresult CheckForAndDispatchClick(WidgetMouseEvent* aEvent, nsEventStatus* aStatus); @@ -1046,6 +1053,7 @@ private: #define NS_EVENT_NEEDS_FRAME(event) \ (!(event)->HasPluginActivationEventMessage() && \ (event)->mMessage != eMouseClick && \ - (event)->mMessage != eMouseDoubleClick) + (event)->mMessage != eMouseDoubleClick && \ + (event)->mMessage != eMouseAuxClick) #endif // mozilla_EventStateManager_h_ |