summaryrefslogtreecommitdiffstats
path: root/dom/plugins
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-04-29 17:02:53 +0200
committerGitHub <noreply@github.com>2018-04-29 17:02:53 +0200
commit8c4783919b1955c08c9e7107a2e58a1501c4fdad (patch)
treec650c55e20f4833329e4e5061e950da773a69189 /dom/plugins
parent32c067857c532bf651e5e6946ec1a67772eb2252 (diff)
parent80f9b75efa08ea449937298b791ff278cbf5fa22 (diff)
downloadUXP-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/plugins')
-rw-r--r--dom/plugins/base/nsPluginInstanceOwner.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/plugins/base/nsPluginInstanceOwner.cpp b/dom/plugins/base/nsPluginInstanceOwner.cpp
index b7651be1a..291ae576d 100644
--- a/dom/plugins/base/nsPluginInstanceOwner.cpp
+++ b/dom/plugins/base/nsPluginInstanceOwner.cpp
@@ -2532,6 +2532,7 @@ nsEventStatus nsPluginInstanceOwner::ProcessEvent(const WidgetGUIEvent& anEvent)
NS_ASSERTION(anEvent.mMessage == eMouseDown ||
anEvent.mMessage == eMouseUp ||
anEvent.mMessage == eMouseDoubleClick ||
+ anEvent.mMessage == eMouseAuxClick ||
anEvent.mMessage == eMouseOver ||
anEvent.mMessage == eMouseOut ||
anEvent.mMessage == eMouseMove ||
@@ -2594,6 +2595,7 @@ nsEventStatus nsPluginInstanceOwner::ProcessEvent(const WidgetGUIEvent& anEvent)
switch (anEvent.mMessage) {
case eMouseClick:
case eMouseDoubleClick:
+ case eMouseAuxClick:
// Button up/down events sent instead.
return rv;
default:
@@ -2797,6 +2799,7 @@ nsEventStatus nsPluginInstanceOwner::ProcessEvent(const WidgetGUIEvent& anEvent)
switch (anEvent.mMessage) {
case eMouseClick:
case eMouseDoubleClick:
+ case eMouseAuxClick:
// Button up/down events sent instead.
return rv;
default: