From 9335f992f224da7a6e3acd79bfa9ea5f2ee1795d Mon Sep 17 00:00:00 2001 From: Masayuki Nakano Date: Tue, 8 Sep 2015 23:33:38 +0900 Subject: [PATCH] Bug 895274 part.143 Rename NS_PLUGIN_INPUT_EVENT to ePluginInputEvent r=smaug --- view/nsViewManager.cpp | 2 +- widget/EventMessageList.h | 2 +- widget/windows/nsWindowBase.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/view/nsViewManager.cpp b/view/nsViewManager.cpp index 05c81ad0cde..26781cc8938 100644 --- a/view/nsViewManager.cpp +++ b/view/nsViewManager.cpp @@ -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()); } diff --git a/widget/EventMessageList.h b/widget/EventMessageList.h index 1b502d5600d..d2ed9ef4fb8 100644 --- a/widget/EventMessageList.h +++ b/widget/EventMessageList.h @@ -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) diff --git a/widget/windows/nsWindowBase.cpp b/widget/windows/nsWindowBase.cpp index 0ab56bf6dac..43de542d745 100644 --- a/widget/windows/nsWindowBase.cpp +++ b/widget/windows/nsWindowBase.cpp @@ -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;