From 2fcee9eef212c97dc96d1bb780cf14643b2ebbfb Mon Sep 17 00:00:00 2001 From: kipp Date: Fri, 26 Jun 1998 15:11:53 +0000 Subject: [PATCH] Removed obsolete justify-reflow method --- layout/base/public/nsIFrame.h | 10 ---------- layout/base/src/nsFrame.cpp | 6 ------ layout/base/src/nsFrame.h | 2 -- layout/generic/nsIFrame.h | 10 ---------- 4 files changed, 28 deletions(-) diff --git a/layout/base/public/nsIFrame.h b/layout/base/public/nsIFrame.h index 52a098877523..d26fd3afba6c 100644 --- a/layout/base/public/nsIFrame.h +++ b/layout/base/public/nsIFrame.h @@ -387,16 +387,6 @@ public: NS_IMETHOD DidReflow(nsIPresContext& aPresContext, nsDidReflowStatus aStatus) = 0; - /** - * Post-processing reflow method invoked when justification is enabled. - * This is always called after Reflow() - * - * @param aAvailableSpace The amount of available space that the frame - * should distribute internally. - */ - NS_IMETHOD JustifyReflow(nsIPresContext* aPresContext, - nscoord aAvailableSpace) = 0; - /** * This call is invoked when content is appended to the content tree. * diff --git a/layout/base/src/nsFrame.cpp b/layout/base/src/nsFrame.cpp index fb79458b8af7..dd71d169d570 100644 --- a/layout/base/src/nsFrame.cpp +++ b/layout/base/src/nsFrame.cpp @@ -1077,12 +1077,6 @@ NS_METHOD nsFrame::Reflow(nsIPresContext* aPresContext, return NS_OK; } -NS_METHOD nsFrame::JustifyReflow(nsIPresContext* aPresContext, - nscoord aAvailableSpace) -{ - return NS_OK; -} - NS_METHOD nsFrame::ContentAppended(nsIPresShell* aShell, nsIPresContext* aPresContext, nsIContent* aContainer) diff --git a/layout/base/src/nsFrame.h b/layout/base/src/nsFrame.h index bfbd34f63baa..aed7536c80e7 100644 --- a/layout/base/src/nsFrame.h +++ b/layout/base/src/nsFrame.h @@ -150,8 +150,6 @@ public: nsReflowMetrics& aDesiredSize, const nsReflowState& aReflowState, nsReflowStatus& aStatus); - NS_IMETHOD JustifyReflow(nsIPresContext* aPresContext, - nscoord aAvailableSpace); NS_IMETHOD ContentAppended(nsIPresShell* aShell, nsIPresContext* aPresContext, nsIContent* aContainer); diff --git a/layout/generic/nsIFrame.h b/layout/generic/nsIFrame.h index 52a098877523..d26fd3afba6c 100644 --- a/layout/generic/nsIFrame.h +++ b/layout/generic/nsIFrame.h @@ -387,16 +387,6 @@ public: NS_IMETHOD DidReflow(nsIPresContext& aPresContext, nsDidReflowStatus aStatus) = 0; - /** - * Post-processing reflow method invoked when justification is enabled. - * This is always called after Reflow() - * - * @param aAvailableSpace The amount of available space that the frame - * should distribute internally. - */ - NS_IMETHOD JustifyReflow(nsIPresContext* aPresContext, - nscoord aAvailableSpace) = 0; - /** * This call is invoked when content is appended to the content tree. *