mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-02 13:58:40 +09:00
Issue #1916 - Part 1: Convert flags passed to ReflowChild, FinishReflowChild, etc into an enum class.
Backported from Mozilla bug 1571250.
This commit is contained in:
parent
9cc1870b9f
commit
0423d83560
51 changed files with 365 additions and 303 deletions
|
|
@ -531,7 +531,7 @@ nsMenuPopupFrame::LayoutPopup(nsBoxLayoutState& aState, nsIFrame* aParentMenu,
|
|||
}
|
||||
|
||||
viewManager->SetViewVisibility(view, nsViewVisibility_kShow);
|
||||
nsContainerFrame::SyncFrameViewProperties(pc, this, nullptr, view, 0);
|
||||
nsContainerFrame::SyncFrameViewProperties(pc, this, nullptr, view);
|
||||
}
|
||||
|
||||
// finally, if the popup just opened, send a popupshown event
|
||||
|
|
@ -993,10 +993,9 @@ nsMenuPopupFrame::HidePopup(bool aDeselectMenu, nsPopupState aNewState)
|
|||
}
|
||||
}
|
||||
|
||||
uint32_t
|
||||
nsMenuPopupFrame::GetXULLayoutFlags()
|
||||
{
|
||||
return NS_FRAME_NO_SIZE_VIEW | NS_FRAME_NO_MOVE_VIEW | NS_FRAME_NO_VISIBILITY;
|
||||
nsIFrame::ReflowChildFlags nsMenuPopupFrame::GetXULLayoutFlags() {
|
||||
return ReflowChildFlags::NoSizeView | ReflowChildFlags::NoMoveView |
|
||||
ReflowChildFlags::NoVisibility;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue