mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-18 04:44:17 +00:00
Bug 895274 part.143 Rename NS_PLUGIN_INPUT_EVENT to ePluginInputEvent r=smaug
This commit is contained in:
parent
3bd96d3922
commit
cbb2aaf075
@ -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