mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 895274 part.143 Rename NS_PLUGIN_INPUT_EVENT to ePluginInputEvent r=smaug
This commit is contained in:
parent
b1119451c3
commit
9335f992f2
@ -758,7 +758,7 @@ nsViewManager::DispatchEvent(WidgetGUIEvent *aEvent,
|
||||
mouseEvent->mMessage != eMouseEnterIntoWidget) ||
|
||||
aEvent->HasKeyEventMessage() ||
|
||||
aEvent->HasIMEEventMessage() ||
|
||||
aEvent->mMessage == NS_PLUGIN_INPUT_EVENT) {
|
||||
aEvent->mMessage == ePluginInputEvent) {
|
||||
gLastUserEventTime = PR_IntervalToMicroseconds(PR_IntervalNow());
|
||||
}
|
||||
|
||||
|
@ -291,7 +291,7 @@ NS_EVENT_MESSAGE(NS_SIMPLE_GESTURE_EDGE_COMPLETED, NS_SIMPLE_GESTURE_EVENT_START
|
||||
|
||||
// These are used to send native events to plugins.
|
||||
NS_EVENT_MESSAGE(ePluginEventFirst, 3600)
|
||||
NS_EVENT_MESSAGE(NS_PLUGIN_INPUT_EVENT, ePluginEventFirst)
|
||||
NS_EVENT_MESSAGE(ePluginInputEvent, ePluginEventFirst)
|
||||
|
||||
// Events to manipulate selection (WidgetSelectionEvent)
|
||||
NS_EVENT_MESSAGE(NS_SELECTION_EVENT_START, 3700)
|
||||
|
@ -23,7 +23,7 @@ nsWindowBase::DispatchPluginEvent(const MSG& aMsg)
|
||||
if (!PluginHasFocus()) {
|
||||
return false;
|
||||
}
|
||||
WidgetPluginEvent pluginEvent(true, NS_PLUGIN_INPUT_EVENT, this);
|
||||
WidgetPluginEvent pluginEvent(true, ePluginInputEvent, this);
|
||||
nsIntPoint point(0, 0);
|
||||
InitEvent(pluginEvent, &point);
|
||||
NPEvent npEvent;
|
||||
|
Loading…
Reference in New Issue
Block a user