mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-07 13:24:12 +00:00
Remove nsIFrame::ContentStateChanged. b=207822 r+sr=roc
This commit is contained in:
parent
61083ede85
commit
1bc80bcc0c
@ -10325,10 +10325,6 @@ nsCSSFrameConstructor::ContentStatesChanged(nsIPresContext* aPresContext,
|
||||
result = RecreateFramesForContent(aPresContext, aContent1);
|
||||
changeList.Clear();
|
||||
} else {
|
||||
if (frameChange & ~(nsChangeHint_AttrChange | nsChangeHint_Aural)) {
|
||||
// let primary frame deal with it
|
||||
result = primaryFrame1->ContentStateChanged(aPresContext, aContent1, frameChange);
|
||||
}
|
||||
ProcessRestyledFrames(changeList, aPresContext);
|
||||
}
|
||||
}
|
||||
@ -10357,11 +10353,7 @@ nsCSSFrameConstructor::ContentStatesChanged(nsIPresContext* aPresContext,
|
||||
result = RecreateFramesForContent(aPresContext, aContent2);
|
||||
changeList.Clear();
|
||||
} else {
|
||||
if (frameChange & ~(nsChangeHint_AttrChange | nsChangeHint_Aural)) {
|
||||
// let primary frame deal with it
|
||||
result = primaryFrame2->ContentStateChanged(aPresContext, aContent2, frameChange);
|
||||
}
|
||||
// then process any children that need it
|
||||
// process any children that need it
|
||||
ProcessRestyledFrames(changeList, aPresContext);
|
||||
}
|
||||
}
|
||||
|
@ -861,19 +861,6 @@ public:
|
||||
PRInt32 aModType,
|
||||
PRInt32 aHint) = 0;
|
||||
|
||||
/**
|
||||
* This call is invoked when the value of a content object's state
|
||||
* is changed.
|
||||
* The first frame that maps that content is asked to deal
|
||||
* with the change by doing whatever is appropriate.
|
||||
*
|
||||
* @param aChild the content object
|
||||
* @param aHint the level of change that has already been dealt with
|
||||
*/
|
||||
NS_IMETHOD ContentStateChanged(nsIPresContext* aPresContext,
|
||||
nsIContent* aChild,
|
||||
PRInt32 aHint) = 0;
|
||||
|
||||
/**
|
||||
* Return how your frame can be split.
|
||||
*/
|
||||
|
@ -2355,14 +2355,6 @@ nsFrame::AttributeChanged(nsIPresContext* aPresContext,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsFrame::ContentStateChanged(nsIPresContext* aPresContext,
|
||||
nsIContent* aChild,
|
||||
PRInt32 aHint)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// Flow member functions
|
||||
|
||||
NS_IMETHODIMP nsFrame::IsSplittable(nsSplittableType& aIsSplittable) const
|
||||
|
@ -234,9 +234,6 @@ public:
|
||||
nsIAtom* aAttribute,
|
||||
PRInt32 aModType,
|
||||
PRInt32 aHint);
|
||||
NS_IMETHOD ContentStateChanged(nsIPresContext* aPresContext,
|
||||
nsIContent* aChild,
|
||||
PRInt32 aHint);
|
||||
NS_IMETHOD IsSplittable(nsSplittableType& aIsSplittable) const;
|
||||
NS_IMETHOD GetPrevInFlow(nsIFrame** aPrevInFlow) const;
|
||||
NS_IMETHOD SetPrevInFlow(nsIFrame*);
|
||||
|
@ -861,19 +861,6 @@ public:
|
||||
PRInt32 aModType,
|
||||
PRInt32 aHint) = 0;
|
||||
|
||||
/**
|
||||
* This call is invoked when the value of a content object's state
|
||||
* is changed.
|
||||
* The first frame that maps that content is asked to deal
|
||||
* with the change by doing whatever is appropriate.
|
||||
*
|
||||
* @param aChild the content object
|
||||
* @param aHint the level of change that has already been dealt with
|
||||
*/
|
||||
NS_IMETHOD ContentStateChanged(nsIPresContext* aPresContext,
|
||||
nsIContent* aChild,
|
||||
PRInt32 aHint) = 0;
|
||||
|
||||
/**
|
||||
* Return how your frame can be split.
|
||||
*/
|
||||
|
@ -2355,14 +2355,6 @@ nsFrame::AttributeChanged(nsIPresContext* aPresContext,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsFrame::ContentStateChanged(nsIPresContext* aPresContext,
|
||||
nsIContent* aChild,
|
||||
PRInt32 aHint)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// Flow member functions
|
||||
|
||||
NS_IMETHODIMP nsFrame::IsSplittable(nsSplittableType& aIsSplittable) const
|
||||
|
@ -234,9 +234,6 @@ public:
|
||||
nsIAtom* aAttribute,
|
||||
PRInt32 aModType,
|
||||
PRInt32 aHint);
|
||||
NS_IMETHOD ContentStateChanged(nsIPresContext* aPresContext,
|
||||
nsIContent* aChild,
|
||||
PRInt32 aHint);
|
||||
NS_IMETHOD IsSplittable(nsSplittableType& aIsSplittable) const;
|
||||
NS_IMETHOD GetPrevInFlow(nsIFrame** aPrevInFlow) const;
|
||||
NS_IMETHOD SetPrevInFlow(nsIFrame*);
|
||||
|
@ -10325,10 +10325,6 @@ nsCSSFrameConstructor::ContentStatesChanged(nsIPresContext* aPresContext,
|
||||
result = RecreateFramesForContent(aPresContext, aContent1);
|
||||
changeList.Clear();
|
||||
} else {
|
||||
if (frameChange & ~(nsChangeHint_AttrChange | nsChangeHint_Aural)) {
|
||||
// let primary frame deal with it
|
||||
result = primaryFrame1->ContentStateChanged(aPresContext, aContent1, frameChange);
|
||||
}
|
||||
ProcessRestyledFrames(changeList, aPresContext);
|
||||
}
|
||||
}
|
||||
@ -10357,11 +10353,7 @@ nsCSSFrameConstructor::ContentStatesChanged(nsIPresContext* aPresContext,
|
||||
result = RecreateFramesForContent(aPresContext, aContent2);
|
||||
changeList.Clear();
|
||||
} else {
|
||||
if (frameChange & ~(nsChangeHint_AttrChange | nsChangeHint_Aural)) {
|
||||
// let primary frame deal with it
|
||||
result = primaryFrame2->ContentStateChanged(aPresContext, aContent2, frameChange);
|
||||
}
|
||||
// then process any children that need it
|
||||
// process any children that need it
|
||||
ProcessRestyledFrames(changeList, aPresContext);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user