Bug 895274 part.90 Rename NS_XUL_POPUP_HIDDEN to eXULPopupHidden r=smaug

This commit is contained in:
Masayuki Nakano 2015-09-04 19:54:11 +09:00
parent 66bb2dcc45
commit ea3ceb80a1
4 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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);

View File

@ -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)

View File

@ -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;