nsDeckFrame::nsDeckFrame(nsStyleContext* aContext) : nsBoxFrame(aContext), mIndex(0) { nsCOMPtr<nsBoxLayout> layout; NS_NewStackLayout(layout); SetLayoutManager(layout); }
nsStackFrame::nsStackFrame(nsStyleContext* aContext): nsBoxFrame(aContext) { nsCOMPtr<nsBoxLayout> layout; NS_NewStackLayout(layout); SetXULLayoutManager(layout); }
nsDeckFrame::nsDeckFrame(nsIPresShell* aPresShell, nsStyleContext* aContext) : nsBoxFrame(aPresShell, aContext), mIndex(0) { nsCOMPtr<nsIBoxLayout> layout; NS_NewStackLayout(aPresShell, layout); SetLayoutManager(layout); }
nsRootBoxFrame::nsRootBoxFrame(nsIPresShell* aShell, nsStyleContext* aContext): nsBoxFrame(aShell, aContext, true) { mPopupSetFrame = nsnull; nsCOMPtr<nsBoxLayout> layout; NS_NewStackLayout(aShell, layout); SetLayoutManager(layout); }