зеркало из https://github.com/mozilla/pjs.git
Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent.
This commit is contained in:
Родитель
65a54cc608
Коммит
62ae4239f2
|
@ -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___ */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче