Bug 895274 part.49 Rename NS_POINTER_MOVE to ePointerMove r=smaug

This commit is contained in:
Masayuki Nakano 2015-09-01 00:20:06 +09:00
parent 517f9e1565
commit efc8ec6803
5 changed files with 7 additions and 7 deletions

View File

@ -706,7 +706,7 @@ nsDOMWindowUtils::SendPointerEventCommon(const nsAString& aType,
} else if (aType.EqualsLiteral("pointerup")) {
msg = ePointerUp;
} else if (aType.EqualsLiteral("pointermove")) {
msg = NS_POINTER_MOVE;
msg = ePointerMove;
} else if (aType.EqualsLiteral("pointerover")) {
msg = ePointerOver;
} else if (aType.EqualsLiteral("pointerout")) {

View File

@ -315,7 +315,7 @@ EVENT(pointerdown,
EventNameType_All,
ePointerEventClass)
EVENT(pointermove,
NS_POINTER_MOVE,
ePointerMove,
EventNameType_All,
ePointerEventClass)
EVENT(pointerup,

View File

@ -631,7 +631,7 @@ EventStateManager::PreHandleEvent(nsPresContext* aPresContext,
}
case eMouseMove:
case ePointerDown:
case NS_POINTER_MOVE: {
case ePointerMove: {
// on the Mac, GenerateDragGesture() may not return until the drag
// has completed and so |aTargetFrame| may have been deleted (moving
// a bookmark, for example). If this is the case, however, we know
@ -4148,7 +4148,7 @@ EventStateManager::GenerateMouseEnterExit(WidgetMouseEvent* aMouseEvent)
sLastRefPoint = aMouseEvent->refPoint;
}
case NS_POINTER_MOVE:
case ePointerMove:
case ePointerDown:
{
// Get the target content target (mousemove target == mouseover target)

View File

@ -6672,7 +6672,7 @@ DispatchPointerFromMouseOrTouch(PresShell* aShell,
if (mouseEvent->buttons == 0) {
button = -1;
}
pointerMessage = NS_POINTER_MOVE;
pointerMessage = ePointerMove;
break;
case eMouseUp:
pointerMessage = ePointerUp;
@ -6698,7 +6698,7 @@ DispatchPointerFromMouseOrTouch(PresShell* aShell,
// copy the event
switch (touchEvent->mMessage) {
case NS_TOUCH_MOVE:
pointerMessage = NS_POINTER_MOVE;
pointerMessage = ePointerMove;
break;
case NS_TOUCH_END:
pointerMessage = ePointerUp;

View File

@ -64,7 +64,7 @@ NS_EVENT_MESSAGE(eMouseLongTap, eMouseEventFirst + 36)
// Pointer spec events
NS_EVENT_MESSAGE(ePointerEventFirst, 4400)
NS_EVENT_MESSAGE(NS_POINTER_MOVE, ePointerEventFirst)
NS_EVENT_MESSAGE(ePointerMove, ePointerEventFirst)
NS_EVENT_MESSAGE(ePointerUp, ePointerEventFirst + 1)
NS_EVENT_MESSAGE(ePointerDown, ePointerEventFirst + 2)
NS_EVENT_MESSAGE(ePointerOver, ePointerEventFirst + 22)