Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent.

This commit is contained in:
nisheeth%netscape.com 1998-12-11 00:52:55 +00:00
Родитель 65a54cc608
Коммит 62ae4239f2
2 изменённых файлов: 20 добавлений и 0 удалений

Просмотреть файл

@ -91,6 +91,16 @@ public:
NS_IMETHOD ToHTMLString(nsString& aResult) const = 0; NS_IMETHOD ToHTMLString(nsString& aResult) const = 0;
NS_IMETHOD ToHTML(FILE* out) const = 0; NS_IMETHOD ToHTML(FILE* out) const = 0;
/** NRA ***
* Get a hint that tells the style system what to do when
* an attribute on this node changes.
*/
NS_IMETHOD GetStyleHintForAttributeChange(
const nsIContent * aNode,
const nsIAtom* aAttribute,
PRInt32 *aHint) const = 0;
}; };
#endif /* nsIHTMLContent_h___ */ #endif /* nsIHTMLContent_h___ */

Просмотреть файл

@ -91,6 +91,16 @@ public:
NS_IMETHOD ToHTMLString(nsString& aResult) const = 0; NS_IMETHOD ToHTMLString(nsString& aResult) const = 0;
NS_IMETHOD ToHTML(FILE* out) const = 0; NS_IMETHOD ToHTML(FILE* out) const = 0;
/** NRA ***
* Get a hint that tells the style system what to do when
* an attribute on this node changes.
*/
NS_IMETHOD GetStyleHintForAttributeChange(
const nsIContent * aNode,
const nsIAtom* aAttribute,
PRInt32 *aHint) const = 0;
}; };
#endif /* nsIHTMLContent_h___ */ #endif /* nsIHTMLContent_h___ */