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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user