Bug 706528. Remove vestigial beforepaint event stuff. r=smaug

This commit is contained in:
Boris Zbarsky 2011-11-30 19:45:32 -05:00
Родитель d45a6d2c9e
Коммит bf34feea89
6 изменённых файлов: 1 добавлений и 11 удалений

Просмотреть файл

@ -704,7 +704,6 @@ GK_ATOM(onmouseover, "onmouseover")
GK_ATOM(onMozMouseHittest, "onMozMouseHittest")
GK_ATOM(onmouseup, "onmouseup")
GK_ATOM(onMozAfterPaint, "onMozAfterPaint")
GK_ATOM(onMozBeforePaint, "onMozBeforePaint")
GK_ATOM(onmozfullscreenchange, "onmozfullscreenchange")
GK_ATOM(onmozfullscreenerror, "onmozfullscreenerror")
GK_ATOM(onMozMousePixelScroll, "onMozMousePixelScroll")

Просмотреть файл

@ -681,10 +681,6 @@ NON_IDL_EVENT(MozAfterPaint,
NS_AFTERPAINT,
EventNameType_None,
NS_EVENT)
NON_IDL_EVENT(MozBeforePaint,
NS_BEFOREPAINT,
EventNameType_None,
NS_EVENT_NULL)
NON_IDL_EVENT(MozScrolledAreaChanged,
NS_SCROLLEDAREACHANGED,

Просмотреть файл

@ -93,7 +93,6 @@ static const char* const sEventNames[] = {
"durationchange", "volumechange", "MozAudioAvailable",
#endif // MOZ_MEDIA
"MozAfterPaint",
"MozBeforePaint",
"MozBeforeResize",
"mozfullscreenchange",
"mozfullscreenerror",
@ -1343,8 +1342,6 @@ const char* nsDOMEvent::GetEventName(PRUint32 aEventType)
#endif
case NS_AFTERPAINT:
return sEventNames[eDOMEvents_afterpaint];
case NS_BEFOREPAINT:
return sEventNames[eDOMEvents_beforepaint];
case NS_BEFORERESIZE_EVENT:
return sEventNames[eDOMEvents_beforeresize];
case NS_SIMPLE_GESTURE_SWIPE:

Просмотреть файл

@ -176,7 +176,6 @@ public:
eDOMEvents_mozaudioavailable,
#endif
eDOMEvents_afterpaint,
eDOMEvents_beforepaint,
eDOMEvents_beforeresize,
eDOMEvents_mozfullscreenchange,
eDOMEvents_mozfullscreenerror,

Просмотреть файл

@ -29,7 +29,7 @@ function test()
}
var elem = doc.getElementById(test.elem);
// Skip the first BeforePaint event as it's the same event that the browser
// Skip the first callback as it's the same callback that the browser
// uses to kick off the scrolling.
var skipFrames = 1;
var checkScroll = function () {

Просмотреть файл

@ -451,7 +451,6 @@ class nsHashKey;
// paint notification events
#define NS_NOTIFYPAINT_START 3400
#define NS_AFTERPAINT (NS_NOTIFYPAINT_START)
#define NS_BEFOREPAINT (NS_NOTIFYPAINT_START+1)
// Simple gesture events
#define NS_SIMPLE_GESTURE_EVENT_START 3500