mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 895274 part.90 Rename NS_XUL_POPUP_HIDDEN to eXULPopupHidden r=smaug
This commit is contained in:
parent
66bb2dcc45
commit
ea3ceb80a1
@ -708,7 +708,7 @@ NON_IDL_EVENT(popuphiding,
|
||||
EventNameType_XUL,
|
||||
eBasicEventClass)
|
||||
NON_IDL_EVENT(popuphidden,
|
||||
NS_XUL_POPUP_HIDDEN,
|
||||
eXULPopupHidden,
|
||||
EventNameType_XUL,
|
||||
eBasicEventClass)
|
||||
NON_IDL_EVENT(broadcast,
|
||||
|
@ -1118,7 +1118,7 @@ nsXULPopupManager::HidePopupCallback(nsIContent* aPopup,
|
||||
// send the popuphidden event synchronously. This event has no default
|
||||
// behaviour.
|
||||
nsEventStatus status = nsEventStatus_eIgnore;
|
||||
WidgetMouseEvent event(true, NS_XUL_POPUP_HIDDEN, nullptr,
|
||||
WidgetMouseEvent event(true, eXULPopupHidden, nullptr,
|
||||
WidgetMouseEvent::eReal);
|
||||
EventDispatcher::Dispatch(aPopup, aPopupFrame->PresContext(),
|
||||
&event, nullptr, &status);
|
||||
|
@ -119,7 +119,7 @@ NS_EVENT_MESSAGE(eXULEventFirst, 1500)
|
||||
NS_EVENT_MESSAGE(eXULPopupShowing, eXULEventFirst)
|
||||
NS_EVENT_MESSAGE(eXULPopupShown, eXULEventFirst + 1)
|
||||
NS_EVENT_MESSAGE(eXULPopupHiding, eXULEventFirst + 2)
|
||||
NS_EVENT_MESSAGE(NS_XUL_POPUP_HIDDEN, eXULEventFirst + 3)
|
||||
NS_EVENT_MESSAGE(eXULPopupHidden, eXULEventFirst + 3)
|
||||
NS_EVENT_MESSAGE(NS_XUL_BROADCAST, eXULEventFirst + 5)
|
||||
NS_EVENT_MESSAGE(NS_XUL_COMMAND_UPDATE, eXULEventFirst + 6)
|
||||
|
||||
|
@ -379,7 +379,7 @@ void nsMenuX::MenuClosed()
|
||||
mContent->UnsetAttr(kNameSpaceID_None, nsGkAtoms::open, true);
|
||||
|
||||
nsEventStatus status = nsEventStatus_eIgnore;
|
||||
WidgetMouseEvent event(true, NS_XUL_POPUP_HIDDEN, nullptr,
|
||||
WidgetMouseEvent event(true, eXULPopupHidden, nullptr,
|
||||
WidgetMouseEvent::eReal);
|
||||
|
||||
nsCOMPtr<nsIContent> popupContent;
|
||||
|
Loading…
Reference in New Issue
Block a user