Removed ContentChanged() and AttributeChanged() which are no longer need

now that GetPrimaryFrameFor() always returns the out-of-flow frame


git-svn-id: svn://10.0.0.236/trunk@29117 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1999-04-25 16:59:39 +00:00
parent fc762f49b8
commit 0e0466e34b
4 changed files with 0 additions and 72 deletions

View File

@@ -78,33 +78,6 @@ nsPlaceholderFrame::Paint(nsIPresContext& aPresContext,
return NS_OK;
}
NS_IMETHODIMP
nsPlaceholderFrame::ContentChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
nsISupports* aSubContent)
{
NS_ASSERTION(mContent == aChild, "bad content-changed target");
// Forward the notification to the out of flow frame
if (nsnull != mOutOfFlowFrame) {
return mOutOfFlowFrame->ContentChanged(aPresContext, aChild, aSubContent);
}
return NS_OK;
}
NS_IMETHODIMP
nsPlaceholderFrame::AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
nsIAtom* aAttribute,
PRInt32 aHint)
{
// Forward the notification to the out of flow frame
if (nsnull != mOutOfFlowFrame) {
return mOutOfFlowFrame->AttributeChanged(aPresContext, aChild, aAttribute, aHint);
}
return NS_OK;
}
NS_IMETHODIMP
nsPlaceholderFrame::GetFrameType(nsIAtom** aType) const
{

View File

@@ -47,15 +47,6 @@ public:
const nsRect& aDirtyRect,
nsFramePaintLayer aWhichLayer);
NS_IMETHOD ContentChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
nsISupports* aSubContent);
NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
nsIAtom* aAttribute,
PRInt32 aHint);
/**
* Get the "type" of the frame
*

View File

@@ -78,33 +78,6 @@ nsPlaceholderFrame::Paint(nsIPresContext& aPresContext,
return NS_OK;
}
NS_IMETHODIMP
nsPlaceholderFrame::ContentChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
nsISupports* aSubContent)
{
NS_ASSERTION(mContent == aChild, "bad content-changed target");
// Forward the notification to the out of flow frame
if (nsnull != mOutOfFlowFrame) {
return mOutOfFlowFrame->ContentChanged(aPresContext, aChild, aSubContent);
}
return NS_OK;
}
NS_IMETHODIMP
nsPlaceholderFrame::AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
nsIAtom* aAttribute,
PRInt32 aHint)
{
// Forward the notification to the out of flow frame
if (nsnull != mOutOfFlowFrame) {
return mOutOfFlowFrame->AttributeChanged(aPresContext, aChild, aAttribute, aHint);
}
return NS_OK;
}
NS_IMETHODIMP
nsPlaceholderFrame::GetFrameType(nsIAtom** aType) const
{

View File

@@ -47,15 +47,6 @@ public:
const nsRect& aDirtyRect,
nsFramePaintLayer aWhichLayer);
NS_IMETHOD ContentChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
nsISupports* aSubContent);
NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
nsIAtom* aAttribute,
PRInt32 aHint);
/**
* Get the "type" of the frame
*