Bug 895274 part.120 Rename NS_MEDIA_EVENT_START to eMeditaEventFirst r=smaug

This commit is contained in:
Masayuki Nakano 2015-09-08 23:33:35 +09:00
parent 32fd364a55
commit 059aca0aaf

View File

@ -244,27 +244,27 @@ NS_EVENT_MESSAGE(NS_QUERY_CHARACTER_AT_POINT, NS_QUERY_CONTENT_EVENT_STAR
NS_EVENT_MESSAGE(NS_QUERY_DOM_WIDGET_HITTEST, NS_QUERY_CONTENT_EVENT_START + 9)
// Video events
NS_EVENT_MESSAGE(NS_MEDIA_EVENT_START, 3300)
NS_EVENT_MESSAGE(NS_LOADSTART, NS_MEDIA_EVENT_START)
NS_EVENT_MESSAGE(NS_PROGRESS, NS_MEDIA_EVENT_START + 1)
NS_EVENT_MESSAGE(NS_SUSPEND, NS_MEDIA_EVENT_START + 2)
NS_EVENT_MESSAGE(NS_EMPTIED, NS_MEDIA_EVENT_START + 3)
NS_EVENT_MESSAGE(NS_STALLED, NS_MEDIA_EVENT_START + 4)
NS_EVENT_MESSAGE(NS_PLAY, NS_MEDIA_EVENT_START + 5)
NS_EVENT_MESSAGE(NS_PAUSE, NS_MEDIA_EVENT_START + 6)
NS_EVENT_MESSAGE(NS_LOADEDMETADATA, NS_MEDIA_EVENT_START + 7)
NS_EVENT_MESSAGE(NS_LOADEDDATA, NS_MEDIA_EVENT_START + 8)
NS_EVENT_MESSAGE(NS_WAITING, NS_MEDIA_EVENT_START + 9)
NS_EVENT_MESSAGE(NS_PLAYING, NS_MEDIA_EVENT_START + 10)
NS_EVENT_MESSAGE(NS_CANPLAY, NS_MEDIA_EVENT_START + 11)
NS_EVENT_MESSAGE(NS_CANPLAYTHROUGH, NS_MEDIA_EVENT_START + 12)
NS_EVENT_MESSAGE(NS_SEEKING, NS_MEDIA_EVENT_START + 13)
NS_EVENT_MESSAGE(NS_SEEKED, NS_MEDIA_EVENT_START + 14)
NS_EVENT_MESSAGE(NS_TIMEUPDATE, NS_MEDIA_EVENT_START + 15)
NS_EVENT_MESSAGE(NS_ENDED, NS_MEDIA_EVENT_START + 16)
NS_EVENT_MESSAGE(NS_RATECHANGE, NS_MEDIA_EVENT_START + 17)
NS_EVENT_MESSAGE(NS_DURATIONCHANGE, NS_MEDIA_EVENT_START + 18)
NS_EVENT_MESSAGE(NS_VOLUMECHANGE, NS_MEDIA_EVENT_START + 19)
NS_EVENT_MESSAGE(eMediaEventFirst, 3300)
NS_EVENT_MESSAGE(NS_LOADSTART, eMediaEventFirst)
NS_EVENT_MESSAGE(NS_PROGRESS, eMediaEventFirst + 1)
NS_EVENT_MESSAGE(NS_SUSPEND, eMediaEventFirst + 2)
NS_EVENT_MESSAGE(NS_EMPTIED, eMediaEventFirst + 3)
NS_EVENT_MESSAGE(NS_STALLED, eMediaEventFirst + 4)
NS_EVENT_MESSAGE(NS_PLAY, eMediaEventFirst + 5)
NS_EVENT_MESSAGE(NS_PAUSE, eMediaEventFirst + 6)
NS_EVENT_MESSAGE(NS_LOADEDMETADATA, eMediaEventFirst + 7)
NS_EVENT_MESSAGE(NS_LOADEDDATA, eMediaEventFirst + 8)
NS_EVENT_MESSAGE(NS_WAITING, eMediaEventFirst + 9)
NS_EVENT_MESSAGE(NS_PLAYING, eMediaEventFirst + 10)
NS_EVENT_MESSAGE(NS_CANPLAY, eMediaEventFirst + 11)
NS_EVENT_MESSAGE(NS_CANPLAYTHROUGH, eMediaEventFirst + 12)
NS_EVENT_MESSAGE(NS_SEEKING, eMediaEventFirst + 13)
NS_EVENT_MESSAGE(NS_SEEKED, eMediaEventFirst + 14)
NS_EVENT_MESSAGE(NS_TIMEUPDATE, eMediaEventFirst + 15)
NS_EVENT_MESSAGE(NS_ENDED, eMediaEventFirst + 16)
NS_EVENT_MESSAGE(NS_RATECHANGE, eMediaEventFirst + 17)
NS_EVENT_MESSAGE(NS_DURATIONCHANGE, eMediaEventFirst + 18)
NS_EVENT_MESSAGE(NS_VOLUMECHANGE, eMediaEventFirst + 19)
// paint notification events
NS_EVENT_MESSAGE(NS_NOTIFYPAINT_START, 3400)