summaryrefslogtreecommitdiffstats
path: root/dom/plugins
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-04 23:15:50 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-04 23:15:50 +0100
commit80f9b75efa08ea449937298b791ff278cbf5fa22 (patch)
tree24175cc50098581dd604d32d84fe27249931792f /dom/plugins
parent3ef4f63ec257cf90ad4bf8695a1e4e291f811af2 (diff)
downloadUXP-80f9b75efa08ea449937298b791ff278cbf5fa22.tar
UXP-80f9b75efa08ea449937298b791ff278cbf5fa22.tar.gz
UXP-80f9b75efa08ea449937298b791ff278cbf5fa22.tar.lz
UXP-80f9b75efa08ea449937298b791ff278cbf5fa22.tar.xz
UXP-80f9b75efa08ea449937298b791ff278cbf5fa22.zip
Implement auxclick
Bug(s): https://bugzilla.mozilla.org/show_bug.cgi?id=1304044 (native in moebius)
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: