added content state changed (vs content changed) notification

git-svn-id: svn://10.0.0.236/trunk@46718 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com 1999-09-10 05:50:02 +00:00
parent 24432daa31
commit d97f7ef6e1
2 changed files with 30 additions and 2 deletions

View File

@ -534,16 +534,30 @@ public:
* This call is invoked when the value of a content objects's attribute
* is changed.
* The first frame that maps that content is asked to deal
* with the change by generating an incremental reflow command.
* with the change by doing whatever is appropriate.
*
* @param aChild the content object
* @param aAttribute the attribute whose value changed
* @param aHint the level of change that has already been dealt with
*/
NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
nsIAtom* aAttribute,
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.
*/

View File

@ -534,16 +534,30 @@ public:
* This call is invoked when the value of a content objects's attribute
* is changed.
* The first frame that maps that content is asked to deal
* with the change by generating an incremental reflow command.
* with the change by doing whatever is appropriate.
*
* @param aChild the content object
* @param aAttribute the attribute whose value changed
* @param aHint the level of change that has already been dealt with
*/
NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
nsIAtom* aAttribute,
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.
*/