Bug 895274 part.143 Rename NS_PLUGIN_INPUT_EVENT to ePluginInputEvent r=smaug

This commit is contained in:
Masayuki Nakano 2015-09-08 23:33:38 +09:00
parent 3bd96d3922
commit cbb2aaf075
3 changed files with 3 additions and 3 deletions

View File

@ -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());
}

View File

@ -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)

View File

@ -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;