Bug 895274 part.40 Rename NS_POINTER_LOST_CAPTURE to ePointerLostCapture r=smaug

This commit is contained in:
Masayuki Nakano 2015-09-01 00:20:05 +09:00
parent 29c972ae22
commit 63cd3ad56a
3 changed files with 4 additions and 4 deletions

View File

@ -347,7 +347,7 @@ EVENT(gotpointercapture,
EventNameType_All,
ePointerEventClass)
EVENT(lostpointercapture,
NS_POINTER_LOST_CAPTURE,
ePointerLostCapture,
EventNameType_All,
ePointerEventClass)

View File

@ -73,8 +73,8 @@ NS_EVENT_MESSAGE(NS_POINTER_ENTER, ePointerEventFirst + 24)
NS_EVENT_MESSAGE(NS_POINTER_LEAVE, ePointerEventFirst + 25)
NS_EVENT_MESSAGE(NS_POINTER_CANCEL, ePointerEventFirst + 26)
NS_EVENT_MESSAGE(NS_POINTER_GOT_CAPTURE, ePointerEventFirst + 27)
NS_EVENT_MESSAGE(NS_POINTER_LOST_CAPTURE, ePointerEventFirst + 28)
NS_EVENT_MESSAGE(ePointerEventLast, NS_POINTER_LOST_CAPTURE)
NS_EVENT_MESSAGE(ePointerLostCapture, ePointerEventFirst + 28)
NS_EVENT_MESSAGE(ePointerEventLast, ePointerLostCapture)
NS_EVENT_MESSAGE(NS_CONTEXTMENU_MESSAGE_START, 500)
NS_EVENT_MESSAGE(NS_CONTEXTMENU, NS_CONTEXTMENU_MESSAGE_START)

View File

@ -632,7 +632,7 @@ public:
break;
case NS_POINTER_CANCEL:
case NS_POINTER_GOT_CAPTURE:
case NS_POINTER_LOST_CAPTURE:
case ePointerLostCapture:
mFlags.mCancelable = false;
break;
default: