mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 895274 part.89 Rename NS_XUL_POPUP_HIDING to eXULPopupHiding r=smaug
This commit is contained in:
parent
0d26604282
commit
028d190b1b
@ -704,7 +704,7 @@ NON_IDL_EVENT(popupshown,
|
||||
EventNameType_XUL,
|
||||
eBasicEventClass)
|
||||
NON_IDL_EVENT(popuphiding,
|
||||
NS_XUL_POPUP_HIDING,
|
||||
eXULPopupHiding,
|
||||
EventNameType_XUL,
|
||||
eBasicEventClass)
|
||||
NON_IDL_EVENT(popuphidden,
|
||||
|
@ -316,9 +316,8 @@ nsComboboxControlFrame::ShowPopup(bool aShowPopup)
|
||||
|
||||
// fire a popup dom event
|
||||
nsEventStatus status = nsEventStatus_eIgnore;
|
||||
WidgetMouseEvent event(true, aShowPopup ?
|
||||
eXULPopupShowing : NS_XUL_POPUP_HIDING, nullptr,
|
||||
WidgetMouseEvent::eReal);
|
||||
WidgetMouseEvent event(true, aShowPopup ? eXULPopupShowing : eXULPopupHiding,
|
||||
nullptr, WidgetMouseEvent::eReal);
|
||||
|
||||
nsCOMPtr<nsIPresShell> shell = PresContext()->GetPresShell();
|
||||
if (shell)
|
||||
|
@ -1434,7 +1434,7 @@ nsXULPopupManager::FirePopupHidingEvent(nsIContent* aPopup,
|
||||
nsCOMPtr<nsIPresShell> presShell = aPresContext->PresShell();
|
||||
|
||||
nsEventStatus status = nsEventStatus_eIgnore;
|
||||
WidgetMouseEvent event(true, NS_XUL_POPUP_HIDING, nullptr,
|
||||
WidgetMouseEvent event(true, eXULPopupHiding, nullptr,
|
||||
WidgetMouseEvent::eReal);
|
||||
EventDispatcher::Dispatch(aPopup, aPresContext, &event, nullptr, &status);
|
||||
|
||||
|
@ -118,7 +118,7 @@ NS_EVENT_MESSAGE(eDragDropEventLast, eDragLeave)
|
||||
NS_EVENT_MESSAGE(eXULEventFirst, 1500)
|
||||
NS_EVENT_MESSAGE(eXULPopupShowing, eXULEventFirst)
|
||||
NS_EVENT_MESSAGE(eXULPopupShown, eXULEventFirst + 1)
|
||||
NS_EVENT_MESSAGE(NS_XUL_POPUP_HIDING, eXULEventFirst + 2)
|
||||
NS_EVENT_MESSAGE(eXULPopupHiding, eXULEventFirst + 2)
|
||||
NS_EVENT_MESSAGE(NS_XUL_POPUP_HIDDEN, eXULEventFirst + 3)
|
||||
NS_EVENT_MESSAGE(NS_XUL_BROADCAST, eXULEventFirst + 5)
|
||||
NS_EVENT_MESSAGE(NS_XUL_COMMAND_UPDATE, eXULEventFirst + 6)
|
||||
|
@ -598,7 +598,7 @@ bool nsMenuX::OnClose()
|
||||
return true;
|
||||
|
||||
nsEventStatus status = nsEventStatus_eIgnore;
|
||||
WidgetMouseEvent event(true, NS_XUL_POPUP_HIDING, nullptr,
|
||||
WidgetMouseEvent event(true, eXULPopupHiding, nullptr,
|
||||
WidgetMouseEvent::eReal);
|
||||
|
||||
nsCOMPtr<nsIContent> popupContent;
|
||||
|
Loading…
Reference in New Issue
Block a user