Added CreateContinuingFrame() function to frame construction code

git-svn-id: svn://10.0.0.236/trunk@21695 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1999-02-24 04:03:50 +00:00
parent f9f76ef341
commit cbaac14adf
19 changed files with 248 additions and 82 deletions

View File

@@ -136,6 +136,12 @@ public:
NS_IMETHOD CantRenderReplacedElement(nsIPresContext* aPresContext,
nsIFrame* aFrame);
// Request to create a continuing frame
NS_IMETHOD CreateContinuingFrame(nsIPresContext* aPresContext,
nsIFrame* aFrame,
nsIFrame* aParentFrame,
nsIFrame** aContinuingFrame);
virtual void List(FILE* out = stdout, PRInt32 aIndent = 0);
private:
@@ -818,6 +824,16 @@ StyleSetImpl::CantRenderReplacedElement(nsIPresContext* aPresContext,
return mFrameConstructor->CantRenderReplacedElement(aPresContext, aFrame);
}
NS_IMETHODIMP
StyleSetImpl::CreateContinuingFrame(nsIPresContext* aPresContext,
nsIFrame* aFrame,
nsIFrame* aParentFrame,
nsIFrame** aContinuingFrame)
{
return mFrameConstructor->CreateContinuingFrame(aPresContext, aFrame, aParentFrame,
aContinuingFrame);
}
void StyleSetImpl::List(FILE* out, PRInt32 aIndent, nsISupportsArray* aSheets)
{
PRInt32 count = ((nsnull != aSheets) ? aSheets->Count() : 0);