Added DidFit/CanFit predicates; removed cruft

This commit is contained in:
kipp 1998-05-27 21:06:03 +00:00
parent ff32f375c6
commit 43d9780a05

View File

@ -23,8 +23,7 @@
class nsInlineState;
// Inline container class. Does not support being used as a pseudo frame
class nsInlineFrame : public nsHTMLContainerFrame
{
class nsInlineFrame : public nsHTMLContainerFrame {
public:
static nsresult NewFrame(nsIFrame** aInstancePtrResult,
nsIContent* aContent,
@ -48,6 +47,15 @@ protected:
void InitializeState(nsIPresContext* aPresContext,
nsInlineState& aState);
PRBool DidFitChild(nsIPresContext* aPresContext,
nsInlineState& aState,
nsIFrame* aChildFrame,
nsReflowMetrics& aChildMetrics);
PRBool CanFitChild(nsIPresContext* aPresContext,
nsInlineState& aState,
nsIFrame* aChildFrame);
void ComputeFinalSize(nsIPresContext* aPresContext,
nsInlineState& aState,
nsReflowMetrics& aSize);
@ -82,15 +90,6 @@ protected:
nsInlineState& aState,
nsIFrame* aChildFrame,
PRInt32 aChildIndex);
#if 0
nsReflowStatus AdjustChildren(nsIPresContext* aPresContext,
nsReflowMetrics& aDesiredSize,
nsInlineState& aState,
nsIFrame* aKid,
nsReflowMetrics& aKidMetrics,
ReflowStatus aKidReflowStatus);
#endif
};
#endif /* nsInlineFrame_h___ */