Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug

This commit is contained in:
Masayuki Nakano
2015-08-29 08:58:30 +09:00
parent 329427650a
commit 00ded62efd
45 changed files with 92 additions and 95 deletions

View File

@@ -3228,7 +3228,7 @@ HTMLInputElement::PreHandleEvent(EventChainPreVisitor& aVisitor)
if (stopSpin) {
StopNumberControlSpinnerSpin();
}
} else if (aVisitor.mEvent->mMessage == NS_MOUSE_BUTTON_UP) {
} else if (aVisitor.mEvent->mMessage == eMouseUp) {
StopNumberControlSpinnerSpin();
}
}
@@ -3939,7 +3939,7 @@ HTMLInputElement::PostHandleEvent(EventChainPostVisitor& aVisitor)
} break; // eKeyPress || eKeyUp
case NS_MOUSE_BUTTON_DOWN:
case NS_MOUSE_BUTTON_UP:
case eMouseUp:
case NS_MOUSE_DOUBLECLICK:
{
// cancel all of these events for buttons
@@ -4133,7 +4133,7 @@ HTMLInputElement::PostHandleEventForRangeThumb(EventChainPostVisitor& aVisitor)
aVisitor.mEvent->mFlags.mMultipleActionsPrevented = true;
break;
case NS_MOUSE_BUTTON_UP:
case eMouseUp:
case NS_TOUCH_END:
if (!mIsDraggingRange) {
break;