зеркало из https://github.com/mozilla/gecko-dev.git
Bug 895274 part.88 Rename NS_XUL_POPUP_SHOWN to eXULPopupShown r=smaug
This commit is contained in:
Родитель
930dfd9c08
Коммит
56f538bc5a
|
@ -700,7 +700,7 @@ NON_IDL_EVENT(popupshowing,
|
|||
EventNameType_XUL,
|
||||
eBasicEventClass)
|
||||
NON_IDL_EVENT(popupshown,
|
||||
NS_XUL_POPUP_SHOWN,
|
||||
eXULPopupShown,
|
||||
EventNameType_XUL,
|
||||
eBasicEventClass)
|
||||
NON_IDL_EVENT(popuphiding,
|
||||
|
|
|
@ -352,7 +352,7 @@ NS_IMETHODIMP nsXULPopupShownEvent::Run()
|
|||
popup->SetPopupState(ePopupShown);
|
||||
}
|
||||
|
||||
WidgetMouseEvent event(true, NS_XUL_POPUP_SHOWN, nullptr,
|
||||
WidgetMouseEvent event(true, eXULPopupShown, nullptr,
|
||||
WidgetMouseEvent::eReal);
|
||||
return EventDispatcher::Dispatch(mPopup, mPresContext, &event);
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ NS_EVENT_MESSAGE(eDragDropEventLast, eDragLeave)
|
|||
// XUL specific events
|
||||
NS_EVENT_MESSAGE(eXULEventFirst, 1500)
|
||||
NS_EVENT_MESSAGE(eXULPopupShowing, eXULEventFirst)
|
||||
NS_EVENT_MESSAGE(NS_XUL_POPUP_SHOWN, eXULEventFirst + 1)
|
||||
NS_EVENT_MESSAGE(eXULPopupShown, eXULEventFirst + 1)
|
||||
NS_EVENT_MESSAGE(NS_XUL_POPUP_HIDING, eXULEventFirst + 2)
|
||||
NS_EVENT_MESSAGE(NS_XUL_POPUP_HIDDEN, eXULEventFirst + 3)
|
||||
NS_EVENT_MESSAGE(NS_XUL_BROADCAST, eXULEventFirst + 5)
|
||||
|
|
|
@ -355,7 +355,7 @@ nsEventStatus nsMenuX::MenuOpened()
|
|||
}
|
||||
|
||||
nsEventStatus status = nsEventStatus_eIgnore;
|
||||
WidgetMouseEvent event(true, NS_XUL_POPUP_SHOWN, nullptr,
|
||||
WidgetMouseEvent event(true, eXULPopupShown, nullptr,
|
||||
WidgetMouseEvent::eReal);
|
||||
|
||||
nsCOMPtr<nsIContent> popupContent;
|
||||
|
|
Загрузка…
Ссылка в новой задаче