mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 06:22:33 +00:00
Implement StringToAttribute; AttributeToString is now public
This commit is contained in:
parent
c679a3de4a
commit
04f5a93e36
@ -233,12 +233,6 @@ public:
|
||||
static PRBool TableCaptionAlignParamToString(const nsHTMLValue& aValue,
|
||||
nsString& aResult);
|
||||
|
||||
protected:
|
||||
nsHTMLTagContent();
|
||||
nsHTMLTagContent(nsIAtom* aTag);
|
||||
virtual ~nsHTMLTagContent();
|
||||
void SizeOfWithoutThis(nsISizeOfHandler* aHandler) const;
|
||||
|
||||
/**
|
||||
* Helper method used by GetAttribute to map an attribute
|
||||
* to a string value.
|
||||
@ -247,6 +241,20 @@ protected:
|
||||
nsHTMLValue& aValue,
|
||||
nsString& aResult) const;
|
||||
|
||||
/**
|
||||
* Helper method used by SetAttribute to map a string to an
|
||||
* attribute value.
|
||||
*/
|
||||
virtual nsContentAttr StringToAttribute(nsIAtom* aAttribute,
|
||||
const nsString& aValue,
|
||||
nsHTMLValue& aResult);
|
||||
|
||||
protected:
|
||||
nsHTMLTagContent();
|
||||
nsHTMLTagContent(nsIAtom* aTag);
|
||||
virtual ~nsHTMLTagContent();
|
||||
void SizeOfWithoutThis(nsISizeOfHandler* aHandler) const;
|
||||
|
||||
|
||||
virtual nsresult AddScriptEventListener(nsIAtom* aAttribute, nsHTMLValue& aValue, REFNSIID aIID);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user