mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 895274 part.213 Rename NS_SCROLLPORT_OVERFLOW to eScrollPortOverflow r=smaug
This commit is contained in:
parent
43c26f8450
commit
2237026931
@ -732,7 +732,7 @@ NON_IDL_EVENT(draggesture,
|
||||
EventNameType_XUL,
|
||||
eDragEventClass)
|
||||
NON_IDL_EVENT(overflow,
|
||||
NS_SCROLLPORT_OVERFLOW,
|
||||
eScrollPortOverflow,
|
||||
EventNameType_XUL,
|
||||
eBasicEventClass)
|
||||
NON_IDL_EVENT(underflow,
|
||||
|
@ -3035,7 +3035,7 @@ HTMLInputElement::NeedToInitializeEditorForEvent(
|
||||
case eMouseOver:
|
||||
case eMouseOut:
|
||||
case NS_SCROLLPORT_UNDERFLOW:
|
||||
case NS_SCROLLPORT_OVERFLOW:
|
||||
case eScrollPortOverflow:
|
||||
return false;
|
||||
default:
|
||||
return true;
|
||||
|
@ -3753,7 +3753,7 @@ ScrollFrameHelper::FireScrollPortEvent()
|
||||
InternalScrollPortEvent event(true,
|
||||
(orient == InternalScrollPortEvent::horizontal ? mHorizontalOverflow :
|
||||
mVerticalOverflow) ?
|
||||
NS_SCROLLPORT_OVERFLOW : NS_SCROLLPORT_UNDERFLOW, nullptr);
|
||||
eScrollPortOverflow : NS_SCROLLPORT_UNDERFLOW, nullptr);
|
||||
event.orient = orient;
|
||||
return EventDispatcher::Dispatch(mOuter->GetContent(),
|
||||
mOuter->PresContext(), &event);
|
||||
|
@ -917,7 +917,7 @@ nsTreeBodyFrame::CheckOverflow(const ScrollParts& aParts)
|
||||
|
||||
if (verticalOverflowChanged) {
|
||||
InternalScrollPortEvent event(true,
|
||||
mVerticalOverflow ? NS_SCROLLPORT_OVERFLOW : NS_SCROLLPORT_UNDERFLOW,
|
||||
mVerticalOverflow ? eScrollPortOverflow : NS_SCROLLPORT_UNDERFLOW,
|
||||
nullptr);
|
||||
event.orient = InternalScrollPortEvent::vertical;
|
||||
EventDispatcher::Dispatch(content, presContext, &event);
|
||||
@ -925,7 +925,7 @@ nsTreeBodyFrame::CheckOverflow(const ScrollParts& aParts)
|
||||
|
||||
if (horizontalOverflowChanged) {
|
||||
InternalScrollPortEvent event(true,
|
||||
mHorizontalOverflow ? NS_SCROLLPORT_OVERFLOW : NS_SCROLLPORT_UNDERFLOW,
|
||||
mHorizontalOverflow ? eScrollPortOverflow : NS_SCROLLPORT_UNDERFLOW,
|
||||
nullptr);
|
||||
event.orient = InternalScrollPortEvent::horizontal;
|
||||
EventDispatcher::Dispatch(content, presContext, &event);
|
||||
|
@ -130,7 +130,7 @@ NS_EVENT_MESSAGE(eLegacyMousePixelScroll, eLegacyMouseScrollEventFirst + 1)
|
||||
|
||||
NS_EVENT_MESSAGE(NS_SCROLLPORT_START, 1700)
|
||||
NS_EVENT_MESSAGE(NS_SCROLLPORT_UNDERFLOW, NS_SCROLLPORT_START)
|
||||
NS_EVENT_MESSAGE(NS_SCROLLPORT_OVERFLOW, NS_SCROLLPORT_START + 1)
|
||||
NS_EVENT_MESSAGE(eScrollPortOverflow, NS_SCROLLPORT_START + 1)
|
||||
|
||||
NS_EVENT_MESSAGE(eLegacyMutationEventFirst, 1800)
|
||||
NS_EVENT_MESSAGE(eLegacySubtreeModified, eLegacyMutationEventFirst)
|
||||
|
Loading…
Reference in New Issue
Block a user