mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Added DidFit/CanFit predicates; removed cruft
This commit is contained in:
parent
ff32f375c6
commit
43d9780a05
@ -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___ */
|
||||
|
Loading…
Reference in New Issue
Block a user