From c70ccbc299f1e13e440c212a0b84fad0a7310840 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 git-svn-id: svn://10.0.0.236/trunk@4570 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/public/nsIFrame.h | 10 ---------- mozilla/layout/base/src/nsFrame.cpp | 6 ------ mozilla/layout/base/src/nsFrame.h | 2 -- mozilla/layout/generic/nsIFrame.h | 10 ---------- 4 files changed, 28 deletions(-) diff --git a/mozilla/layout/base/public/nsIFrame.h b/mozilla/layout/base/public/nsIFrame.h index 52a09887752..d26fd3afba6 100644 --- a/mozilla/layout/base/public/nsIFrame.h +++ b/mozilla/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/mozilla/layout/base/src/nsFrame.cpp b/mozilla/layout/base/src/nsFrame.cpp index fb79458b8af..dd71d169d57 100644 --- a/mozilla/layout/base/src/nsFrame.cpp +++ b/mozilla/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/mozilla/layout/base/src/nsFrame.h b/mozilla/layout/base/src/nsFrame.h index bfbd34f63ba..aed7536c80e 100644 --- a/mozilla/layout/base/src/nsFrame.h +++ b/mozilla/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/mozilla/layout/generic/nsIFrame.h b/mozilla/layout/generic/nsIFrame.h index 52a09887752..d26fd3afba6 100644 --- a/mozilla/layout/generic/nsIFrame.h +++ b/mozilla/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. *