зеркало из https://github.com/mozilla/gecko-dev.git
rename |IID()| --> |GetIID()|
This commit is contained in:
Родитель
f254cd2929
Коммит
2ec0a397ea
|
@ -36,7 +36,7 @@ class nsIFile
|
|||
: public nsISupports
|
||||
{
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IFILE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IFILE_IID; return iid; }
|
||||
NS_IMETHOD Open(
|
||||
const nsFileSpec& inFile,
|
||||
int nsprMode,
|
||||
|
@ -67,7 +67,7 @@ class nsIFileInputStream
|
|||
: public nsISupports
|
||||
{
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IFILEINPUTSTREAM_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IFILEINPUTSTREAM_IID; return iid; }
|
||||
}; // class nsIFileInputStream
|
||||
|
||||
/* a6cf90e7-15b3-11d2-932e-00805f8add32 */
|
||||
|
@ -84,7 +84,7 @@ class nsIFileOutputStream
|
|||
: public nsISupports
|
||||
{
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IFILEOUTPUTSTREAM_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IFILEOUTPUTSTREAM_IID; return iid; }
|
||||
NS_IMETHOD Flush() = 0;
|
||||
// Forces a write to disk.
|
||||
}; // class nsIFileOutputStream
|
||||
|
|
|
@ -35,7 +35,7 @@ class nsISizeOfHandler;
|
|||
*/
|
||||
class nsIAtom : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IATOM_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IATOM_IID; return iid; }
|
||||
|
||||
/**
|
||||
* Translate the unicode string into the stringbuf.
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
class nsIBaseStream : public nsISupports {
|
||||
public:
|
||||
|
||||
static const nsIID& IID() { static nsIID iid = NS_IBASESTREAM_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IBASESTREAM_IID; return iid; }
|
||||
|
||||
/** Close the stream. */
|
||||
NS_IMETHOD
|
||||
|
|
|
@ -162,7 +162,7 @@ class FileImpl
|
|||
}; // class FileImpl
|
||||
|
||||
#define SAY_I_IMPLEMENT(classname) \
|
||||
if (aIID.Equals(classname::IID())) \
|
||||
if (aIID.Equals(classname::GetIID())) \
|
||||
{ \
|
||||
*aInstancePtr = (void*)((classname*)this); \
|
||||
NS_ADDREF_THIS(); \
|
||||
|
@ -190,13 +190,13 @@ NS_IMETHODIMP FileImpl::QueryInterface(REFNSIID aIID, void** aInstancePtr)
|
|||
// of nsISupports), one through
|
||||
// nsIOutputStream, the other through nsIInputStream. Resolve this
|
||||
// by giving them a specific one
|
||||
if (aIID.Equals(((nsIBaseStream*)(nsIOutputStream*)this)->IID()))
|
||||
if (aIID.Equals(((nsIBaseStream*)(nsIOutputStream*)this)->GetIID()))
|
||||
{
|
||||
*aInstancePtr = (void*)((nsIBaseStream*)(nsIOutputStream*)this);
|
||||
NS_ADDREF_THIS();
|
||||
return NS_OK;
|
||||
}
|
||||
if (aIID.Equals(((nsISupports*)(nsIOutputStream*)this)->IID()))
|
||||
if (aIID.Equals(((nsISupports*)(nsIOutputStream*)this)->GetIID()))
|
||||
{
|
||||
*aInstancePtr = (void*)((nsISupports*)(nsIOutputStream*)this);
|
||||
NS_ADDREF_THIS();
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class nsIInputStream : public nsIBaseStream {
|
||||
public:
|
||||
|
||||
static const nsIID& IID() { static nsIID iid = NS_IINPUTSTREAM_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IINPUTSTREAM_IID; return iid; }
|
||||
|
||||
/** Return the number of bytes in the stream
|
||||
* @param aLength out parameter to hold the length
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
class nsIOutputStream : public nsIBaseStream {
|
||||
public:
|
||||
|
||||
static const nsIID& IID() { static nsIID iid = NS_IOUTPUTSTREAM_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IOUTPUTSTREAM_IID; return iid; }
|
||||
|
||||
/** Write data into the stream.
|
||||
* @param aBuf the buffer into which the data is read
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
#pragma unsigned_char off
|
||||
#pragma exceptions on
|
||||
#pragma bool on
|
||||
#pragma RTTI off
|
||||
#pragma RTTI on
|
||||
|
||||
|
||||
/* Save as much space as possible with strings... */
|
||||
|
@ -71,6 +71,14 @@
|
|||
#pragma scheduling 604
|
||||
#pragma peephole on
|
||||
#pragma optimize_for_size on
|
||||
|
||||
#pragma opt_strength_reduction on
|
||||
#pragma opt_propagation on
|
||||
#pragma opt_loop_invariants on
|
||||
#pragma opt_lifetimes on
|
||||
#pragma opt_dead_code on
|
||||
#pragma opt_dead_assignments on
|
||||
#pragma opt_common_subs on
|
||||
#endif
|
||||
|
||||
#else /* ...generating 68k */
|
||||
|
|
|
@ -47,7 +47,7 @@ class nsIDOMRange;
|
|||
// is supported by all content objects.
|
||||
class nsIContent : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ICONTENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_ICONTENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetDocument(nsIDocument*& aResult) const = 0;
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ class nsIDOMRange;
|
|||
class nsIContentIterator : public nsISupports {
|
||||
public:
|
||||
|
||||
static const nsIID& IID() { static nsIID iid = NS_ICONTENTITERTOR_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_ICONTENTITERTOR_IID; return iid; }
|
||||
|
||||
/* Initializes an iterator for the subtree rooted by the node aRoot
|
||||
*/
|
||||
|
|
|
@ -34,7 +34,7 @@ class nsIContent;
|
|||
|
||||
class nsIStyleRule : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ISTYLE_RULE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_ISTYLE_RULE_IID; return iid; }
|
||||
|
||||
NS_IMETHOD Equals(const nsIStyleRule* aRule, PRBool& aResult) const = 0;
|
||||
NS_IMETHOD HashValue(PRUint32& aValue) const = 0;
|
||||
|
|
|
@ -32,7 +32,7 @@ class nsIStyleContext;
|
|||
// the ability to specify style hints on an attribute change).
|
||||
class nsIStyledContent : public nsIContent {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ISTYLEDCONTENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_ISTYLEDCONTENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetID(nsIAtom*& aResult) const = 0;
|
||||
NS_IMETHOD GetClasses(nsVoidArray& aArray) const = 0;
|
||||
|
|
|
@ -105,7 +105,7 @@ nsresult NS_NewContentIterator(nsIContentIterator** aInstancePtrResult);
|
|||
nsresult NS_NewContentIterator(nsIContentIterator** aInstancePtrResult)
|
||||
{
|
||||
nsContentIterator * iter = new nsContentIterator();
|
||||
return iter->QueryInterface(nsIContentIterator::IID(), (void**) aInstancePtrResult);
|
||||
return iter->QueryInterface(nsIContentIterator::GetIID(), (void**) aInstancePtrResult);
|
||||
}
|
||||
|
||||
|
||||
|
@ -130,13 +130,13 @@ nsresult nsContentIterator::QueryInterface(const nsIID& aIID,
|
|||
NS_ADDREF_THIS();
|
||||
return NS_OK;
|
||||
}
|
||||
/* if (aIID.Equals(nsIEnumerator::IID()))
|
||||
/* if (aIID.Equals(nsIEnumerator::GetIID()))
|
||||
{
|
||||
*aInstancePtrResult = (void*)(nsIEnumerator*)this;
|
||||
NS_ADDREF_THIS();
|
||||
return NS_OK;
|
||||
} */
|
||||
if (aIID.Equals(nsIContentIterator::IID()))
|
||||
if (aIID.Equals(nsIContentIterator::GetIID()))
|
||||
{
|
||||
*aInstancePtrResult = (void*)(nsIContentIterator*)this;
|
||||
NS_ADDREF_THIS();
|
||||
|
@ -528,7 +528,7 @@ nsresult nsContentIterator::CurrentNode(nsIContent **aNode)
|
|||
return NS_ERROR_FAILURE;
|
||||
if (mIsDone)
|
||||
return NS_ERROR_FAILURE;
|
||||
return mCurNode->QueryInterface(nsIContent::IID(), (void**) aNode);
|
||||
return mCurNode->QueryInterface(nsIContent::GetIID(), (void**) aNode);
|
||||
}
|
||||
|
||||
|
||||
|
@ -591,7 +591,7 @@ nsresult NS_NewContentSubtreeIterator(nsIContentIterator** aInstancePtrResult);
|
|||
nsresult NS_NewContentSubtreeIterator(nsIContentIterator** aInstancePtrResult)
|
||||
{
|
||||
nsContentIterator * iter = new nsContentSubtreeIterator();
|
||||
return iter->QueryInterface(nsIContentIterator::IID(), (void**) aInstancePtrResult);
|
||||
return iter->QueryInterface(nsIContentIterator::GetIID(), (void**) aInstancePtrResult);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ nsresult
|
|||
NS_NewRange(nsIDOMRange** aInstancePtrResult)
|
||||
{
|
||||
nsRange * range = new nsRange();
|
||||
return range->QueryInterface(nsIDOMRange::IID(), (void**) aInstancePtrResult);
|
||||
return range->QueryInterface(nsIDOMRange::GetIID(), (void**) aInstancePtrResult);
|
||||
}
|
||||
|
||||
|
||||
|
@ -280,7 +280,7 @@ nsresult nsRange::QueryInterface(const nsIID& aIID,
|
|||
NS_ADDREF_THIS();
|
||||
return NS_OK;
|
||||
}
|
||||
if (aIID.Equals(nsIDOMRange::IID()))
|
||||
if (aIID.Equals(nsIDOMRange::GetIID()))
|
||||
{
|
||||
*aInstancePtrResult = (void*)(nsIDOMRange*)this;
|
||||
NS_ADDREF_THIS();
|
||||
|
@ -328,7 +328,7 @@ nsresult nsRange::AddToListOf(nsCOMPtr<nsIDOMNode> aNode)
|
|||
|
||||
nsCOMPtr<nsIContent> cN;
|
||||
|
||||
nsresult res = aNode->QueryInterface(nsIContent::IID(), getter_AddRefs(cN));
|
||||
nsresult res = aNode->QueryInterface(nsIContent::GetIID(), getter_AddRefs(cN));
|
||||
if (!NS_SUCCEEDED(res))
|
||||
return res;
|
||||
|
||||
|
@ -344,7 +344,7 @@ nsresult nsRange::RemoveFromListOf(nsCOMPtr<nsIDOMNode> aNode)
|
|||
|
||||
nsCOMPtr<nsIContent> cN;
|
||||
|
||||
nsresult res = aNode->QueryInterface(nsIContent::IID(), getter_AddRefs(cN));
|
||||
nsresult res = aNode->QueryInterface(nsIContent::GetIID(), getter_AddRefs(cN));
|
||||
if (!NS_SUCCEEDED(res))
|
||||
return res;
|
||||
|
||||
|
@ -564,11 +564,11 @@ PRInt32 nsRange::IndexOf(nsCOMPtr<nsIDOMNode> aChildNode)
|
|||
return 0;
|
||||
|
||||
// convert node and parent to nsIContent, so that we can find the child index
|
||||
res = parentNode->QueryInterface(nsIContent::IID(), getter_AddRefs(contentParent));
|
||||
res = parentNode->QueryInterface(nsIContent::GetIID(), getter_AddRefs(contentParent));
|
||||
if (!NS_SUCCEEDED(res))
|
||||
return 0;
|
||||
|
||||
res = aChildNode->QueryInterface(nsIContent::IID(), getter_AddRefs(contentChild));
|
||||
res = aChildNode->QueryInterface(nsIContent::GetIID(), getter_AddRefs(contentChild));
|
||||
if (!NS_SUCCEEDED(res))
|
||||
return 0;
|
||||
|
||||
|
@ -615,7 +615,7 @@ PRInt32 nsRange::GetAncestorsAndOffsets(nsCOMPtr<nsIDOMNode> aNode, PRInt32 aOff
|
|||
|
||||
// callers responsibility to make sure args are non-null and proper type
|
||||
|
||||
res = aNode->QueryInterface(nsIContent::IID(),getter_AddRefs(contentNode));
|
||||
res = aNode->QueryInterface(nsIContent::GetIID(),getter_AddRefs(contentNode));
|
||||
if (!NS_SUCCEEDED(res))
|
||||
{
|
||||
NS_NOTREACHED("nsRange::GetAncestorsAndOffsets");
|
||||
|
@ -714,7 +714,7 @@ nsCOMPtr<nsIDOMNode> nsRange::CommonParent(nsCOMPtr<nsIDOMNode> aNode1, nsCOMPtr
|
|||
// or the first common ancestor from the leaf perspective
|
||||
i++;
|
||||
nsIDOMNode *node = NS_STATIC_CAST(nsIDOMNode*, array1->ElementAt(i));
|
||||
node->QueryInterface(nsIDOMNode::IID(), getter_AddRefs(theParent));
|
||||
node->QueryInterface(nsIDOMNode::GetIID(), getter_AddRefs(theParent));
|
||||
return theParent;
|
||||
}
|
||||
|
||||
|
@ -722,7 +722,7 @@ nsresult nsRange::GetDOMNodeFromContent(nsCOMPtr<nsIContent> inContentNode, nsCO
|
|||
{
|
||||
if (!outDomNode)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
nsresult res = inContentNode->QueryInterface(nsIDOMNode::IID(), getter_AddRefs(*outDomNode));
|
||||
nsresult res = inContentNode->QueryInterface(nsIDOMNode::GetIID(), getter_AddRefs(*outDomNode));
|
||||
if (!NS_SUCCEEDED(res))
|
||||
return res;
|
||||
return NS_OK;
|
||||
|
@ -732,7 +732,7 @@ nsresult nsRange::GetContentFromDOMNode(nsCOMPtr<nsIDOMNode> inDomNode, nsCOMPtr
|
|||
{
|
||||
if (!outContentNode)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
nsresult res = inDomNode->QueryInterface(nsIContent::IID(), getter_AddRefs(*outContentNode));
|
||||
nsresult res = inDomNode->QueryInterface(nsIContent::GetIID(), getter_AddRefs(*outContentNode));
|
||||
if (!NS_SUCCEEDED(res))
|
||||
return res;
|
||||
return NS_OK;
|
||||
|
@ -1018,13 +1018,13 @@ nsresult nsRange::DeleteContents()
|
|||
nsCOMPtr<nsIContent> cEnd;
|
||||
|
||||
// get the content versions of our endpoints
|
||||
nsresult res = mStartParent->QueryInterface(nsIContent::IID(), getter_AddRefs(cStart));
|
||||
nsresult res = mStartParent->QueryInterface(nsIContent::GetIID(), getter_AddRefs(cStart));
|
||||
if (!NS_SUCCEEDED(res))
|
||||
{
|
||||
NS_NOTREACHED("nsRange::DeleteContents");
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
res = mEndParent->QueryInterface(nsIContent::IID(), getter_AddRefs(cEnd));
|
||||
res = mEndParent->QueryInterface(nsIContent::GetIID(), getter_AddRefs(cEnd));
|
||||
if (!NS_SUCCEEDED(res))
|
||||
{
|
||||
NS_NOTREACHED("nsRange::DeleteContents");
|
||||
|
@ -1059,7 +1059,7 @@ nsresult nsRange::DeleteContents()
|
|||
else // textnode - offsets refer to data in node
|
||||
{
|
||||
nsCOMPtr<nsIDOMText> textNode;
|
||||
res = mStartParent->QueryInterface(nsIDOMText::IID(), getter_AddRefs(textNode));
|
||||
res = mStartParent->QueryInterface(nsIDOMText::GetIID(), getter_AddRefs(textNode));
|
||||
if (!NS_SUCCEEDED(res)) // if it's not a text node, punt
|
||||
{
|
||||
NS_NOTREACHED("nsRange::DeleteContents");
|
||||
|
@ -1130,7 +1130,7 @@ nsresult nsRange::DeleteContents()
|
|||
|
||||
// If mStartParent is a text node, delete the text after start offset
|
||||
nsIDOMText *textNode;
|
||||
res = mStartParent->QueryInterface(nsIDOMText::IID(), (void**)&textNode);
|
||||
res = mStartParent->QueryInterface(nsIDOMText::GetIID(), (void**)&textNode);
|
||||
if (NS_SUCCEEDED(res))
|
||||
{
|
||||
res = textNode->DeleteData(mStartOffset, 0xFFFFFFFF); // del to end
|
||||
|
@ -1139,7 +1139,7 @@ nsresult nsRange::DeleteContents()
|
|||
}
|
||||
|
||||
// If mEndParent is a text node, delete the text before end offset
|
||||
res = mEndParent->QueryInterface(nsIDOMText::IID(), (void**)&textNode);
|
||||
res = mEndParent->QueryInterface(nsIDOMText::GetIID(), (void**)&textNode);
|
||||
if (NS_SUCCEEDED(res))
|
||||
{
|
||||
res = textNode->DeleteData(0, mEndOffset); // del from start
|
||||
|
@ -1400,13 +1400,13 @@ nsresult nsRange::ToString(nsString& aReturn)
|
|||
aReturn.Truncate();
|
||||
|
||||
// get the content versions of our endpoints
|
||||
nsresult res = mStartParent->QueryInterface(nsIContent::IID(), (void**)&cStart);
|
||||
nsresult res = mStartParent->QueryInterface(nsIContent::GetIID(), (void**)&cStart);
|
||||
if (!NS_SUCCEEDED(res))
|
||||
{
|
||||
NS_NOTREACHED("nsRange::ToString");
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
res = mEndParent->QueryInterface(nsIContent::IID(), (void**)&cEnd);
|
||||
res = mEndParent->QueryInterface(nsIContent::GetIID(), (void**)&cEnd);
|
||||
if (!NS_SUCCEEDED(res))
|
||||
{
|
||||
NS_NOTREACHED("nsRange::ToString");
|
||||
|
@ -1418,7 +1418,7 @@ nsresult nsRange::ToString(nsString& aReturn)
|
|||
if (cStart == cEnd)
|
||||
{
|
||||
nsIDOMText *textNode;
|
||||
res = mStartParent->QueryInterface(nsIDOMText::IID(), (void**)&textNode);
|
||||
res = mStartParent->QueryInterface(nsIDOMText::GetIID(), (void**)&textNode);
|
||||
if (!NS_SUCCEEDED(res)) // if it's not a text node, skip to iterator approach
|
||||
{
|
||||
goto toStringComplexLabel;
|
||||
|
@ -1455,7 +1455,7 @@ toStringComplexLabel:
|
|||
while (NS_COMFALSE == iter->IsDone())
|
||||
{
|
||||
nsIDOMText *textNode;
|
||||
res = cN->QueryInterface(nsIDOMText::IID(), (void**)&textNode);
|
||||
res = cN->QueryInterface(nsIDOMText::GetIID(), (void**)&textNode);
|
||||
if (NS_SUCCEEDED(res)) // if it's a text node, get the text
|
||||
{
|
||||
if (cN == cStart) // only include text past start offset
|
||||
|
|
|
@ -41,7 +41,7 @@ typedef void (*nsMapAttributesFunc)(nsIHTMLAttributes* aAttributes,
|
|||
// Abstract interface for all html content
|
||||
class nsIHTMLContent : public nsIStyledContent {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IHTMLCONTENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IHTMLCONTENT_IID; return iid; }
|
||||
|
||||
/**
|
||||
* If this html content is a container, then compact asks it to minimize
|
||||
|
|
|
@ -30,7 +30,7 @@ class nsIDOMNode;
|
|||
|
||||
class nsICSSStyleSheet : public nsIStyleSheet {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ICSS_STYLE_SHEET_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_ICSS_STYLE_SHEET_IID; return iid; }
|
||||
|
||||
virtual PRBool ContainsStyleSheet(nsIURL* aURL) const = 0;
|
||||
|
||||
|
|
|
@ -1027,7 +1027,7 @@ static PRBool SelectorMatches(nsIPresContext* aPresContext,
|
|||
((nsnull != aSelector->mID) || (nsnull != aSelector->mClassList))) { // test for ID & class match
|
||||
result = PR_FALSE;
|
||||
nsIStyledContent* styledContent;
|
||||
if (NS_SUCCEEDED(aContent->QueryInterface(nsIStyledContent::IID(), (void**)&styledContent))) {
|
||||
if (NS_SUCCEEDED(aContent->QueryInterface(nsIStyledContent::GetIID(), (void**)&styledContent))) {
|
||||
nsIAtom* contentID;
|
||||
styledContent->GetID(contentID);
|
||||
if ((nsnull == aSelector->mID) || (aSelector->mID == contentID)) {
|
||||
|
@ -1322,7 +1322,7 @@ PRInt32 CSSStyleSheetImpl::RulesMatching(nsIPresContext* aPresContext,
|
|||
nsVoidArray classArray; // XXX need to recycle this guy (or make nsAutoVoidArray?)
|
||||
|
||||
nsIStyledContent* styledContent;
|
||||
if (NS_SUCCEEDED(aContent->QueryInterface(nsIStyledContent::IID(), (void**)&styledContent))) {
|
||||
if (NS_SUCCEEDED(aContent->QueryInterface(nsIStyledContent::GetIID(), (void**)&styledContent))) {
|
||||
styledContent->GetID(idAtom);
|
||||
styledContent->GetClasses(classArray);
|
||||
NS_RELEASE(styledContent);
|
||||
|
|
|
@ -191,7 +191,7 @@ PRInt32 HTMLCSSStyleSheetImpl::RulesMatching(nsIPresContext* aPresContext,
|
|||
nsIStyledContent* styledContent;
|
||||
|
||||
// just get the one and only style rule from the content's STYLE attribute
|
||||
if (NS_SUCCEEDED(aContent->QueryInterface(nsIStyledContent::IID(), (void**)&styledContent))) {
|
||||
if (NS_SUCCEEDED(aContent->QueryInterface(nsIStyledContent::GetIID(), (void**)&styledContent))) {
|
||||
nsIStyleRule* rule = nsnull;
|
||||
if (NS_SUCCEEDED(styledContent->GetInlineStyleRule(rule))) {
|
||||
if (nsnull != rule) {
|
||||
|
|
|
@ -412,7 +412,7 @@ PRInt32 HTMLStyleSheetImpl::RulesMatching(nsIPresContext* aPresContext,
|
|||
PRInt32 matchCount = 0;
|
||||
|
||||
nsIStyledContent* styledContent;
|
||||
if (NS_SUCCEEDED(aContent->QueryInterface(nsIStyledContent::IID(), (void**)&styledContent))) {
|
||||
if (NS_SUCCEEDED(aContent->QueryInterface(nsIStyledContent::GetIID(), (void**)&styledContent))) {
|
||||
PRInt32 nameSpace;
|
||||
styledContent->GetNameSpaceID(nameSpace);
|
||||
if (kNameSpaceID_HTML == nameSpace) {
|
||||
|
|
|
@ -102,7 +102,7 @@ public:
|
|||
|
||||
class nsICSSStyleRule : public nsIStyleRule {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ICSS_STYLE_RULE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_ICSS_STYLE_RULE_IID; return iid; }
|
||||
|
||||
virtual nsCSSSelector* FirstSelector(void) = 0;
|
||||
virtual void AddSelector(const nsCSSSelector& aSelector) = 0;
|
||||
|
|
|
@ -96,7 +96,7 @@ RDFHTMLCollectionImpl::QueryInterface(REFNSIID aIID, void** aResult)
|
|||
if (! aResult)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
if (aIID.Equals(nsIDOMHTMLCollection::IID())) {
|
||||
if (aIID.Equals(nsIDOMHTMLCollection::GetIID())) {
|
||||
*aResult = NS_STATIC_CAST(nsIDOMHTMLCollection*, this);
|
||||
NS_ADDREF(this);
|
||||
return NS_OK;
|
||||
|
@ -186,7 +186,7 @@ static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID);
|
|||
if (! aResult)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
if (aIID.Equals(nsIDOMNodeList::IID()) ||
|
||||
if (aIID.Equals(nsIDOMNodeList::GetIID()) ||
|
||||
aIID.Equals(kISupportsIID)) {
|
||||
*aResult = NS_STATIC_CAST(nsIDOMNodeList*, this);
|
||||
NS_ADDREF(this);
|
||||
|
@ -197,7 +197,7 @@ static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID);
|
|||
NS_ADDREF(this);
|
||||
return NS_OK;
|
||||
}
|
||||
else if (aIID.Equals(nsIDOMHTMLCollection::IID())) {
|
||||
else if (aIID.Equals(nsIDOMHTMLCollection::GetIID())) {
|
||||
// Aggregate this interface
|
||||
if (! mInner) {
|
||||
if (! (mInner = new RDFHTMLCollectionImpl(this)))
|
||||
|
|
|
@ -401,7 +401,7 @@ RDFElementImpl::QueryInterface(REFNSIID iid, void** result)
|
|||
iid.Equals(kISupportsIID)) {
|
||||
*result = NS_STATIC_CAST(nsIContent*, this);
|
||||
}
|
||||
else if (iid.Equals(nsIDOMXULElement::IID()) ||
|
||||
else if (iid.Equals(nsIDOMXULElement::GetIID()) ||
|
||||
iid.Equals(kIDOMElementIID) ||
|
||||
iid.Equals(kIDOMNodeIID)) {
|
||||
*result = NS_STATIC_CAST(nsIDOMElement*, this);
|
||||
|
@ -626,7 +626,7 @@ NS_IMETHODIMP
|
|||
RDFElementImpl::GetOwnerDocument(nsIDOMDocument** aOwnerDocument)
|
||||
{
|
||||
if (mDocument) {
|
||||
return mDocument->QueryInterface(nsIDOMDocument::IID(), (void**) aOwnerDocument);
|
||||
return mDocument->QueryInterface(nsIDOMDocument::GetIID(), (void**) aOwnerDocument);
|
||||
}
|
||||
else {
|
||||
*aOwnerDocument = nsnull;
|
||||
|
@ -643,7 +643,7 @@ RDFElementImpl::InsertBefore(nsIDOMNode* aNewChild, nsIDOMNode* aRefChild, nsIDO
|
|||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
nsIDOMNodeObserver* obs;
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMNodeObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMNodeObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnInsertBefore(this, aNewChild, aRefChild);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -661,7 +661,7 @@ RDFElementImpl::ReplaceChild(nsIDOMNode* aNewChild, nsIDOMNode* aOldChild, nsIDO
|
|||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
nsIDOMNodeObserver* obs;
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMNodeObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMNodeObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnReplaceChild(this, aNewChild, aOldChild);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -679,7 +679,7 @@ RDFElementImpl::RemoveChild(nsIDOMNode* aOldChild, nsIDOMNode** aReturn)
|
|||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
nsIDOMNodeObserver* obs;
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMNodeObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMNodeObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnRemoveChild(this, aOldChild);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -697,7 +697,7 @@ RDFElementImpl::AppendChild(nsIDOMNode* aNewChild, nsIDOMNode** aReturn)
|
|||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
nsIDOMNodeObserver* obs;
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMNodeObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMNodeObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnAppendChild(this, aNewChild);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -762,7 +762,7 @@ NS_IMETHODIMP
|
|||
RDFElementImpl::SetAttribute(const nsString& aName, const nsString& aValue)
|
||||
{
|
||||
nsIDOMElementObserver* obs;
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMElementObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMElementObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnSetAttribute(this, aName, aValue);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -774,7 +774,7 @@ NS_IMETHODIMP
|
|||
RDFElementImpl::RemoveAttribute(const nsString& aName)
|
||||
{
|
||||
nsIDOMElementObserver* obs;
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMElementObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMElementObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnRemoveAttribute(this, aName);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -798,7 +798,7 @@ RDFElementImpl::SetAttributeNode(nsIDOMAttr* aNewAttr, nsIDOMAttr** aReturn)
|
|||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
nsIDOMElementObserver* obs;
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMElementObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMElementObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnSetAttributeNode(this, aNewAttr);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -816,7 +816,7 @@ RDFElementImpl::RemoveAttributeNode(nsIDOMAttr* aOldAttr, nsIDOMAttr** aReturn)
|
|||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
nsIDOMElementObserver* obs;
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMElementObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(mDocument->QueryInterface(nsIDOMElementObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnRemoveAttributeNode(this, aOldAttr);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -837,7 +837,7 @@ RDFElementImpl::GetElementsByTagName(const nsString& aName, nsIDOMNodeList** aRe
|
|||
}
|
||||
|
||||
nsIDOMNode* domElement;
|
||||
if (NS_SUCCEEDED(rv = QueryInterface(nsIDOMNode::IID(), (void**) &domElement))) {
|
||||
if (NS_SUCCEEDED(rv = QueryInterface(nsIDOMNode::GetIID(), (void**) &domElement))) {
|
||||
rv = GetElementsByTagName(domElement, aName, elements);
|
||||
NS_RELEASE(domElement);
|
||||
}
|
||||
|
@ -859,7 +859,7 @@ RDFElementImpl::GetElementsByAttribute(const nsString& aAttribute,
|
|||
}
|
||||
|
||||
nsIDOMNode* domElement;
|
||||
if (NS_SUCCEEDED(rv = QueryInterface(nsIDOMNode::IID(), (void**) &domElement))) {
|
||||
if (NS_SUCCEEDED(rv = QueryInterface(nsIDOMNode::GetIID(), (void**) &domElement))) {
|
||||
rv = GetElementsByAttribute(domElement, aAttribute, aValue, elements);
|
||||
NS_RELEASE(domElement);
|
||||
}
|
||||
|
|
|
@ -728,9 +728,9 @@ XULDocumentImpl::QueryInterface(REFNSIID iid, void** result)
|
|||
iid.Equals(kIXMLDocumentIID)) {
|
||||
*result = NS_STATIC_CAST(nsIRDFDocument*, this);
|
||||
}
|
||||
else if (iid.Equals(nsIDOMXULDocument::IID()) ||
|
||||
iid.Equals(nsIDOMDocument::IID()) ||
|
||||
iid.Equals(nsIDOMNode::IID())) {
|
||||
else if (iid.Equals(nsIDOMXULDocument::GetIID()) ||
|
||||
iid.Equals(nsIDOMDocument::GetIID()) ||
|
||||
iid.Equals(nsIDOMNode::GetIID())) {
|
||||
*result = NS_STATIC_CAST(nsIDOMXULDocument*, this);
|
||||
}
|
||||
else if (iid.Equals(kIJSScriptObjectIID)) {
|
||||
|
@ -742,10 +742,10 @@ XULDocumentImpl::QueryInterface(REFNSIID iid, void** result)
|
|||
else if (iid.Equals(kIHTMLContentContainerIID)) {
|
||||
*result = NS_STATIC_CAST(nsIHTMLContentContainer*, this);
|
||||
}
|
||||
else if (iid.Equals(nsIDOMNodeObserver::IID())) {
|
||||
else if (iid.Equals(nsIDOMNodeObserver::GetIID())) {
|
||||
*result = NS_STATIC_CAST(nsIDOMNodeObserver*, this);
|
||||
}
|
||||
else if (iid.Equals(nsIDOMElementObserver::IID())) {
|
||||
else if (iid.Equals(nsIDOMElementObserver::GetIID())) {
|
||||
*result = NS_STATIC_CAST(nsIDOMElementObserver*, this);
|
||||
}
|
||||
else {
|
||||
|
@ -2054,7 +2054,7 @@ XULDocumentImpl::GetDocumentElement(nsIDOMElement** aDocumentElement)
|
|||
nsresult res = NS_ERROR_FAILURE;
|
||||
|
||||
if (nsnull != mRootContent) {
|
||||
res = mRootContent->QueryInterface(nsIDOMElement::IID(), (void**)aDocumentElement);
|
||||
res = mRootContent->QueryInterface(nsIDOMElement::GetIID(), (void**)aDocumentElement);
|
||||
NS_ASSERTION(NS_OK == res, "Must be a DOM Element");
|
||||
}
|
||||
|
||||
|
@ -2142,7 +2142,7 @@ XULDocumentImpl::GetElementsByTagName(const nsString& aTagName, nsIDOMNodeList**
|
|||
|
||||
if (root != nsnull) {
|
||||
nsIDOMNode* domRoot;
|
||||
if (NS_SUCCEEDED(rv = root->QueryInterface(nsIDOMNode::IID(), (void**) &domRoot))) {
|
||||
if (NS_SUCCEEDED(rv = root->QueryInterface(nsIDOMNode::GetIID(), (void**) &domRoot))) {
|
||||
rv = GetElementsByTagName(domRoot, aTagName, elements);
|
||||
NS_RELEASE(domRoot);
|
||||
}
|
||||
|
@ -2169,7 +2169,7 @@ XULDocumentImpl::GetElementsByAttribute(const nsString& aAttribute, const nsStri
|
|||
|
||||
if (root != nsnull) {
|
||||
nsIDOMNode* domRoot;
|
||||
if (NS_SUCCEEDED(rv = root->QueryInterface(nsIDOMNode::IID(), (void**) &domRoot))) {
|
||||
if (NS_SUCCEEDED(rv = root->QueryInterface(nsIDOMNode::GetIID(), (void**) &domRoot))) {
|
||||
rv = GetElementsByAttribute(domRoot, aAttribute, aValue, elements);
|
||||
NS_RELEASE(domRoot);
|
||||
}
|
||||
|
@ -2223,7 +2223,7 @@ XULDocumentImpl::GetElementByID(const nsString& aId, nsIDOMNode** aReturn)
|
|||
|
||||
if (elements->Count() > 0) {
|
||||
nsISupports* element = elements->ElementAt(0);
|
||||
rv = element->QueryInterface(nsIDOMNode::IID(), (void**) aReturn);
|
||||
rv = element->QueryInterface(nsIDOMNode::GetIID(), (void**) aReturn);
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv), "not a DOM node");
|
||||
NS_RELEASE(element);
|
||||
return rv;
|
||||
|
@ -2585,7 +2585,7 @@ XULDocumentImpl::OnSetNodeValue(nsIDOMNode* aNode, const nsString& aValue)
|
|||
= (nsIRDFContentModelBuilder*) mBuilders->ElementAt(i);
|
||||
|
||||
nsIDOMNodeObserver* obs;
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMNodeObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMNodeObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnSetNodeValue(aNode, aValue);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -2605,7 +2605,7 @@ XULDocumentImpl::OnInsertBefore(nsIDOMNode* aParent, nsIDOMNode* aNewChild, nsID
|
|||
= (nsIRDFContentModelBuilder*) mBuilders->ElementAt(i);
|
||||
|
||||
nsIDOMNodeObserver* obs;
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMNodeObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMNodeObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnInsertBefore(aParent, aNewChild, aRefChild);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -2625,7 +2625,7 @@ XULDocumentImpl::OnReplaceChild(nsIDOMNode* aParent, nsIDOMNode* aNewChild, nsID
|
|||
= (nsIRDFContentModelBuilder*) mBuilders->ElementAt(i);
|
||||
|
||||
nsIDOMNodeObserver* obs;
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMNodeObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMNodeObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnReplaceChild(aParent, aNewChild, aOldChild);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -2645,7 +2645,7 @@ XULDocumentImpl::OnRemoveChild(nsIDOMNode* aParent, nsIDOMNode* aOldChild)
|
|||
= (nsIRDFContentModelBuilder*) mBuilders->ElementAt(i);
|
||||
|
||||
nsIDOMNodeObserver* obs;
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMNodeObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMNodeObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnRemoveChild(aParent, aOldChild);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -2665,7 +2665,7 @@ XULDocumentImpl::OnAppendChild(nsIDOMNode* aParent, nsIDOMNode* aNewChild)
|
|||
= (nsIRDFContentModelBuilder*) mBuilders->ElementAt(i);
|
||||
|
||||
nsIDOMNodeObserver* obs;
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMNodeObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMNodeObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnAppendChild(aParent, aNewChild);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -2688,7 +2688,7 @@ XULDocumentImpl::OnSetAttribute(nsIDOMElement* aElement, const nsString& aName,
|
|||
= (nsIRDFContentModelBuilder*) mBuilders->ElementAt(i);
|
||||
|
||||
nsIDOMElementObserver* obs;
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMElementObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMElementObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnSetAttribute(aElement, aName, aValue);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -2706,7 +2706,7 @@ XULDocumentImpl::OnRemoveAttribute(nsIDOMElement* aElement, const nsString& aNam
|
|||
= (nsIRDFContentModelBuilder*) mBuilders->ElementAt(i);
|
||||
|
||||
nsIDOMElementObserver* obs;
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMElementObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMElementObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnRemoveAttribute(aElement, aName);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -2724,7 +2724,7 @@ XULDocumentImpl::OnSetAttributeNode(nsIDOMElement* aElement, nsIDOMAttr* aNewAtt
|
|||
= (nsIRDFContentModelBuilder*) mBuilders->ElementAt(i);
|
||||
|
||||
nsIDOMElementObserver* obs;
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMElementObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMElementObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnSetAttributeNode(aElement, aNewAttr);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
@ -2742,7 +2742,7 @@ XULDocumentImpl::OnRemoveAttributeNode(nsIDOMElement* aElement, nsIDOMAttr* aOld
|
|||
= (nsIRDFContentModelBuilder*) mBuilders->ElementAt(i);
|
||||
|
||||
nsIDOMElementObserver* obs;
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMElementObserver::IID(), (void**) &obs))) {
|
||||
if (NS_SUCCEEDED(builder->QueryInterface(nsIDOMElementObserver::GetIID(), (void**) &obs))) {
|
||||
obs->OnRemoveAttributeNode(aElement, aOldAttr);
|
||||
NS_RELEASE(obs);
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
class nsIDOMHistory : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHISTORY_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHISTORY_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetLength(PRInt32* aLength)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMLocation : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMLOCATION_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMLOCATION_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetHash(nsString& aHash)=0;
|
||||
NS_IMETHOD SetHash(const nsString& aHash)=0;
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
class nsIDOMNavigator : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMNAVIGATOR_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNAVIGATOR_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetUserAgent(nsString& aUserAgent)=0;
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
class nsIDOMScreen : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMSCREEN_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMSCREEN_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetWidth(PRInt32* aWidth)=0;
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ class nsIDOMWindow;
|
|||
|
||||
class nsIDOMWindow : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMWINDOW_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMWINDOW_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetWindow(nsIDOMWindow** aWindow)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ class nsIDOMWindow;
|
|||
|
||||
class nsIDOMWindowCollection : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMWINDOWCOLLECTION_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMWINDOWCOLLECTION_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetLength(PRUint32* aLength)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMAttr : public nsIDOMNode {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMATTR_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMATTR_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetName(nsString& aName)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMCDATASection : public nsIDOMText {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCDATASECTION_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCDATASECTION_IID; return iid; }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMCharacterData : public nsIDOMNode {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCHARACTERDATA_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCHARACTERDATA_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetData(nsString& aData)=0;
|
||||
NS_IMETHOD SetData(const nsString& aData)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMComment : public nsIDOMCharacterData {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCOMMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCOMMENT_IID; return iid; }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
class nsIDOMDOMImplementation : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMDOMIMPLEMENTATION_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMDOMIMPLEMENTATION_IID; return iid; }
|
||||
|
||||
NS_IMETHOD HasFeature(const nsString& aFeature, const nsString& aVersion, PRBool* aReturn)=0;
|
||||
};
|
||||
|
|
|
@ -43,7 +43,7 @@ class nsIDOMNodeList;
|
|||
|
||||
class nsIDOMDocument : public nsIDOMNode {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMDOCUMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMDOCUMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetDoctype(nsIDOMDocumentType** aDoctype)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMDocumentFragment : public nsIDOMNode {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMDOCUMENTFRAGMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMDOCUMENTFRAGMENT_IID; return iid; }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMNamedNodeMap;
|
|||
|
||||
class nsIDOMDocumentType : public nsIDOMNode {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMDOCUMENTTYPE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMDOCUMENTTYPE_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetName(nsString& aName)=0;
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ class nsIDOMNodeList;
|
|||
|
||||
class nsIDOMElement : public nsIDOMNode {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetTagName(nsString& aTagName)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMEntity : public nsIDOMNode {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMENTITY_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMENTITY_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetPublicId(nsString& aPublicId)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMEntityReference : public nsIDOMNode {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMENTITYREFERENCE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMENTITYREFERENCE_IID; return iid; }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ class nsIDOMStyleSheetCollection;
|
|||
|
||||
class nsIDOMNSDocument : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMNSDOCUMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNSDOCUMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetStyleSheets(nsIDOMStyleSheetCollection** aStyleSheets)=0;
|
||||
};
|
||||
|
|
|
@ -32,7 +32,7 @@ class nsIDOMNode;
|
|||
|
||||
class nsIDOMNamedNodeMap : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMNAMEDNODEMAP_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNAMEDNODEMAP_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetLength(PRUint32* aLength)=0;
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ class nsIDOMNodeList;
|
|||
|
||||
class nsIDOMNode : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMNODE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNODE_IID; return iid; }
|
||||
enum {
|
||||
ELEMENT_NODE = 1,
|
||||
ATTRIBUTE_NODE = 2,
|
||||
|
|
|
@ -32,7 +32,7 @@ class nsIDOMNode;
|
|||
|
||||
class nsIDOMNodeList : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMNODELIST_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNODELIST_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetLength(PRUint32* aLength)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMNotation : public nsIDOMNode {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMNOTATION_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNOTATION_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetPublicId(nsString& aPublicId)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMProcessingInstruction : public nsIDOMNode {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMPROCESSINGINSTRUCTION_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMPROCESSINGINSTRUCTION_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetTarget(nsString& aTarget)=0;
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ class nsIDOMRange;
|
|||
|
||||
class nsIDOMRange : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMRANGE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMRANGE_IID; return iid; }
|
||||
enum {
|
||||
START_TO_START = 0,
|
||||
START_TO_END = 1,
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
class nsIDOMStyleSheet : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMSTYLESHEET_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMSTYLESHEET_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetType(nsString& aType)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ class nsIDOMStyleSheet;
|
|||
|
||||
class nsIDOMStyleSheetCollection : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMSTYLESHEETCOLLECTION_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMSTYLESHEETCOLLECTION_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetLength(PRUint32* aLength)=0;
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMText;
|
|||
|
||||
class nsIDOMText : public nsIDOMCharacterData {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMTEXT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMTEXT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD SplitText(PRUint32 aOffset, nsIDOMText** aReturn)=0;
|
||||
};
|
||||
|
|
|
@ -32,7 +32,7 @@ class nsIDOMNode;
|
|||
|
||||
class nsIDOMEvent : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMEVENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMEVENT_IID; return iid; }
|
||||
enum {
|
||||
VK_CANCEL = 3,
|
||||
VK_BACK = 8,
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMEventCapturer : public nsIDOMEventReceiver {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMEVENTCAPTURER_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMEVENTCAPTURER_IID; return iid; }
|
||||
|
||||
NS_IMETHOD CaptureEvent(const nsString& aType)=0;
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ class nsIDOMEventListener : public nsISupports {
|
|||
|
||||
public:
|
||||
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMEVENTLISTENER_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMEVENTLISTENER_IID; return iid; }
|
||||
|
||||
/**
|
||||
* Processes all events excepting mouse and key events.
|
||||
|
|
|
@ -40,7 +40,7 @@ class nsIEventListenerManager;
|
|||
class nsIDOMEventReceiver : public nsISupports {
|
||||
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMEVENTRECEIVER_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMEVENTRECEIVER_IID; return iid; }
|
||||
|
||||
NS_IMETHOD AddEventListener(nsIDOMEventListener *aListener, const nsIID& aIID) = 0;
|
||||
NS_IMETHOD RemoveEventListener(nsIDOMEventListener *aListener, const nsIID& aIID) = 0;
|
||||
|
|
|
@ -32,7 +32,7 @@ class nsIDOMRenderingContext;
|
|||
|
||||
class nsIDOMNSEvent : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMNSEVENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNSEVENT_IID; return iid; }
|
||||
enum {
|
||||
EVENT_MOUSEDOWN = 1,
|
||||
EVENT_MOUSEUP = 2,
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMCSS2Properties : public nsIDOMCSSStyleDeclaration {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCSS2PROPERTIES_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSS2PROPERTIES_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetAzimuth(nsString& aAzimuth)=0;
|
||||
NS_IMETHOD SetAzimuth(const nsString& aAzimuth)=0;
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMCSSStyleDeclaration;
|
|||
|
||||
class nsIDOMCSSFontFaceRule : public nsIDOMCSSRule {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCSSFONTFACERULE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSFONTFACERULE_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle)=0;
|
||||
NS_IMETHOD SetStyle(nsIDOMCSSStyleDeclaration* aStyle)=0;
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMCSSStyleSheet;
|
|||
|
||||
class nsIDOMCSSImportRule : public nsIDOMCSSRule {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCSSIMPORTRULE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSIMPORTRULE_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetHref(nsString& aHref)=0;
|
||||
NS_IMETHOD SetHref(const nsString& aHref)=0;
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMCSSStyleRuleCollection;
|
|||
|
||||
class nsIDOMCSSMediaRule : public nsIDOMCSSRule {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCSSMEDIARULE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSMEDIARULE_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetMediaTypes(nsString& aMediaTypes)=0;
|
||||
NS_IMETHOD SetMediaTypes(const nsString& aMediaTypes)=0;
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMCSSStyleDeclaration;
|
|||
|
||||
class nsIDOMCSSPageRule : public nsIDOMCSSRule {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCSSPAGERULE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSPAGERULE_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetName(nsString& aName)=0;
|
||||
NS_IMETHOD SetName(const nsString& aName)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@ class nsIDOMCSSStyleSheet;
|
|||
|
||||
class nsIDOMCSSRule : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCSSRULE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSRULE_IID; return iid; }
|
||||
enum {
|
||||
UNKNOWN_RULE = 0,
|
||||
STYLE_RULE = 1,
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
class nsIDOMCSSStyleDeclaration : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCSSSTYLEDECLARATION_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSSTYLEDECLARATION_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetCssText(nsString& aCssText)=0;
|
||||
NS_IMETHOD SetCssText(const nsString& aCssText)=0;
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMCSSStyleDeclaration;
|
|||
|
||||
class nsIDOMCSSStyleRule : public nsIDOMCSSRule {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCSSSTYLERULE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSSTYLERULE_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetSelectorText(nsString& aSelectorText)=0;
|
||||
NS_IMETHOD SetSelectorText(const nsString& aSelectorText)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@ class nsIDOMCSSStyleRule;
|
|||
|
||||
class nsIDOMCSSStyleRuleCollection : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCSSSTYLERULECOLLECTION_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSSTYLERULECOLLECTION_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetLength(PRUint32* aLength)=0;
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ class nsIDOMCSSStyleRuleCollection;
|
|||
|
||||
class nsIDOMCSSStyleSheet : public nsIDOMStyleSheet {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCSSSTYLESHEET_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSSTYLESHEET_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetOwningNode(nsIDOMNode** aOwningNode)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMCSSUnknownRule : public nsIDOMCSSRule {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMCSSUNKNOWNRULE_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSUNKNOWNRULE_IID; return iid; }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLAnchorElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLANCHORELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLANCHORELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetAccessKey(nsString& aAccessKey)=0;
|
||||
NS_IMETHOD SetAccessKey(const nsString& aAccessKey)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLAppletElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLAPPLETELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLAPPLETELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetAlign(nsString& aAlign)=0;
|
||||
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLAreaElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLAREAELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLAREAELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetAccessKey(nsString& aAccessKey)=0;
|
||||
NS_IMETHOD SetAccessKey(const nsString& aAccessKey)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLBRElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLBRELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLBRELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetClear(nsString& aClear)=0;
|
||||
NS_IMETHOD SetClear(const nsString& aClear)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLBaseElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLBASEELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLBASEELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetHref(nsString& aHref)=0;
|
||||
NS_IMETHOD SetHref(const nsString& aHref)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLBaseFontElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLBASEFONTELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLBASEFONTELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetColor(nsString& aColor)=0;
|
||||
NS_IMETHOD SetColor(const nsString& aColor)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLBlockquoteElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLBLOCKQUOTEELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLBLOCKQUOTEELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetCite(nsString& aCite)=0;
|
||||
NS_IMETHOD SetCite(const nsString& aCite)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLBodyElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLBODYELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLBODYELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetALink(nsString& aALink)=0;
|
||||
NS_IMETHOD SetALink(const nsString& aALink)=0;
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMHTMLFormElement;
|
|||
|
||||
class nsIDOMHTMLButtonElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLBUTTONELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLBUTTONELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ class nsIDOMNode;
|
|||
|
||||
class nsIDOMHTMLCollection : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLCOLLECTION_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLCOLLECTION_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetLength(PRUint32* aLength)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLDListElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLDLISTELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLDLISTELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetCompact(PRBool* aCompact)=0;
|
||||
NS_IMETHOD SetCompact(PRBool aCompact)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLDirectoryElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLDIRECTORYELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLDIRECTORYELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetCompact(PRBool* aCompact)=0;
|
||||
NS_IMETHOD SetCompact(PRBool aCompact)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLDivElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLDIVELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLDIVELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetAlign(nsString& aAlign)=0;
|
||||
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
|
||||
|
|
|
@ -37,7 +37,7 @@ class nsIDOMNodeList;
|
|||
|
||||
class nsIDOMHTMLDocument : public nsIDOMDocument {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLDOCUMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLDOCUMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetTitle(nsString& aTitle)=0;
|
||||
NS_IMETHOD SetTitle(const nsString& aTitle)=0;
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMCSSStyleDeclaration;
|
|||
|
||||
class nsIDOMHTMLElement : public nsIDOMElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetId(nsString& aId)=0;
|
||||
NS_IMETHOD SetId(const nsString& aId)=0;
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMHTMLFormElement;
|
|||
|
||||
class nsIDOMHTMLFieldSetElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLFIELDSETELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLFIELDSETELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm)=0;
|
||||
};
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLFontElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLFONTELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLFONTELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetColor(nsString& aColor)=0;
|
||||
NS_IMETHOD SetColor(const nsString& aColor)=0;
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMHTMLCollection;
|
|||
|
||||
class nsIDOMHTMLFormElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLFORMELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLFORMELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetElements(nsIDOMHTMLCollection** aElements)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLFrameElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLFRAMEELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLFRAMEELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetFrameBorder(nsString& aFrameBorder)=0;
|
||||
NS_IMETHOD SetFrameBorder(const nsString& aFrameBorder)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLFrameSetElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLFRAMESETELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLFRAMESETELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetCols(nsString& aCols)=0;
|
||||
NS_IMETHOD SetCols(const nsString& aCols)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLHRElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLHRELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLHRELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetAlign(nsString& aAlign)=0;
|
||||
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLHeadElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLHEADELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLHEADELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetProfile(nsString& aProfile)=0;
|
||||
NS_IMETHOD SetProfile(const nsString& aProfile)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLHeadingElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLHEADINGELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLHEADINGELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetAlign(nsString& aAlign)=0;
|
||||
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLHtmlElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLHTMLELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLHTMLELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetVersion(nsString& aVersion)=0;
|
||||
NS_IMETHOD SetVersion(const nsString& aVersion)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLIFrameElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLIFRAMEELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLIFRAMEELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetAlign(nsString& aAlign)=0;
|
||||
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLImageElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLIMAGEELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLIMAGEELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetLowSrc(nsString& aLowSrc)=0;
|
||||
NS_IMETHOD SetLowSrc(const nsString& aLowSrc)=0;
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMHTMLFormElement;
|
|||
|
||||
class nsIDOMHTMLInputElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLINPUTELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLINPUTELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetDefaultValue(nsString& aDefaultValue)=0;
|
||||
NS_IMETHOD SetDefaultValue(const nsString& aDefaultValue)=0;
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMHTMLFormElement;
|
|||
|
||||
class nsIDOMHTMLIsIndexElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLISINDEXELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLISINDEXELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLLIElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLLIELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLLIELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetType(nsString& aType)=0;
|
||||
NS_IMETHOD SetType(const nsString& aType)=0;
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMHTMLFormElement;
|
|||
|
||||
class nsIDOMHTMLLabelElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLLABELELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLLABELELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm)=0;
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMHTMLFormElement;
|
|||
|
||||
class nsIDOMHTMLLegendElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLLEGENDELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLLEGENDELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLLinkElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLLINKELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLLINKELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetDisabled(PRBool* aDisabled)=0;
|
||||
NS_IMETHOD SetDisabled(PRBool aDisabled)=0;
|
||||
|
|
|
@ -33,7 +33,7 @@ class nsIDOMHTMLCollection;
|
|||
|
||||
class nsIDOMHTMLMapElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLMAPELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLMAPELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetAreas(nsIDOMHTMLCollection** aAreas)=0;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLMenuElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLMENUELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLMENUELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetCompact(PRBool* aCompact)=0;
|
||||
NS_IMETHOD SetCompact(PRBool aCompact)=0;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class nsIDOMHTMLMetaElement : public nsIDOMHTMLElement {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IDOMHTMLMETAELEMENT_IID; return iid; }
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLMETAELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetContent(nsString& aContent)=0;
|
||||
NS_IMETHOD SetContent(const nsString& aContent)=0;
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче