added content state changed
git-svn-id: svn://10.0.0.236/trunk@22333 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -205,6 +205,8 @@ public:
|
||||
NS_IMETHOD ContentChanged(nsIDocument *aDocument,
|
||||
nsIContent* aContent,
|
||||
nsISupports* aSubContent);
|
||||
NS_IMETHOD ContentStateChanged(nsIDocument* aDocument,
|
||||
nsIContent* aContent);
|
||||
NS_IMETHOD AttributeChanged(nsIDocument *aDocument,
|
||||
nsIContent* aContent,
|
||||
nsIAtom* aAttribute,
|
||||
@@ -1482,6 +1484,22 @@ PresShell::ContentChanged(nsIDocument *aDocument,
|
||||
return rv;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
PresShell::ContentStateChanged(nsIDocument* aDocument,
|
||||
nsIContent* aContent)
|
||||
{
|
||||
NS_PRECONDITION(nsnull != mRootFrame, "null root frame");
|
||||
|
||||
EnterReflowLock();
|
||||
nsresult rv = mStyleSet->ContentStateChanged(mPresContext, aContent);
|
||||
ExitReflowLock();
|
||||
if (mSelection)
|
||||
mSelection->ResetSelection(this, mRootFrame);
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
PresShell::AttributeChanged(nsIDocument *aDocument,
|
||||
nsIContent* aContent,
|
||||
|
||||
Reference in New Issue
Block a user