Factored out floater sliding from SlideFrames; Added the dy value to the RecoverState method

This commit is contained in:
kipp%netscape.com 1998-12-12 19:18:28 +00:00
parent 9cb6aebcb0
commit c2c34891ef
2 changed files with 14 additions and 2 deletions

View File

@ -107,6 +107,11 @@ protected:
nsISpaceManager* aSpaceManager,
nsLineBox* aLine, nscoord aDY);
void SlideFloaters(nsIPresContext& aPresContext,
nsISpaceManager* aSpaceManager,
nsLineBox* aLine, nscoord aDY,
PRBool aUpdateSpaceManager);
PRBool DrainOverflowLines();
PRBool RemoveChild(nsLineBox* aLines, nsIFrame* aChild);
@ -143,7 +148,8 @@ protected:
virtual nsresult ReflowDirtyLines(nsBlockReflowState& aState);
nsresult RecoverStateFrom(nsBlockReflowState& aState,
nsLineBox* aLine);
nsLineBox* aLine,
nscoord aDeltaY);
//----------------------------------------
// Methods for line reflow

View File

@ -107,6 +107,11 @@ protected:
nsISpaceManager* aSpaceManager,
nsLineBox* aLine, nscoord aDY);
void SlideFloaters(nsIPresContext& aPresContext,
nsISpaceManager* aSpaceManager,
nsLineBox* aLine, nscoord aDY,
PRBool aUpdateSpaceManager);
PRBool DrainOverflowLines();
PRBool RemoveChild(nsLineBox* aLines, nsIFrame* aChild);
@ -143,7 +148,8 @@ protected:
virtual nsresult ReflowDirtyLines(nsBlockReflowState& aState);
nsresult RecoverStateFrom(nsBlockReflowState& aState,
nsLineBox* aLine);
nsLineBox* aLine,
nscoord aDeltaY);
//----------------------------------------
// Methods for line reflow