mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 880379 - remove nsIXULDocument::GetScriptGlobalObjectOwner() r=smaug
This commit is contained in:
parent
d5403063f8
commit
7a393d0fe2
@ -12,13 +12,11 @@
|
|||||||
|
|
||||||
class nsIXULTemplateBuilder;
|
class nsIXULTemplateBuilder;
|
||||||
class nsIContent;
|
class nsIContent;
|
||||||
class nsIScriptGlobalObjectOwner;
|
|
||||||
|
|
||||||
|
|
||||||
// 3e872e97-b678-418e-a7e3-41b8305d4e75
|
// 81ba4be5-6cc5-478a-9b08-b3e7ed524455
|
||||||
#define NS_IXULDOCUMENT_IID \
|
#define NS_IXULDOCUMENT_IID \
|
||||||
{ 0x3e872e97, 0xb678, 0x418e, \
|
{0x81ba4be5, 0x6cc5, 0x478a, {0x9b, 0x08, 0xb3, 0xe7, 0xed, 0x52, 0x44, 0x55}}
|
||||||
{ 0xa7, 0xe3, 0x41, 0xb8, 0x30, 0x5d, 0x4e, 0x75 } }
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -38,11 +36,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual void GetElementsForID(const nsAString& aID, nsCOMArray<nsIContent>& aElements) = 0;
|
virtual void GetElementsForID(const nsAString& aID, nsCOMArray<nsIContent>& aElements) = 0;
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the nsIScriptGlobalObjectOwner for this document.
|
|
||||||
*/
|
|
||||||
NS_IMETHOD GetScriptGlobalObjectOwner(nsIScriptGlobalObjectOwner** aGlobalOwner) = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notify the XUL document that a subtree has been added
|
* Notify the XUL document that a subtree has been added
|
||||||
*/
|
*/
|
||||||
|
@ -1211,13 +1211,6 @@ XULDocument::ResolveForwardReferences()
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
XULDocument::GetScriptGlobalObjectOwner(nsIScriptGlobalObjectOwner** aGlobalOwner)
|
|
||||||
{
|
|
||||||
NS_IF_ADDREF(*aGlobalOwner = mMasterPrototype);
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// nsIDOMDocument interface
|
// nsIDOMDocument interface
|
||||||
|
@ -126,7 +126,6 @@ public:
|
|||||||
virtual void GetElementsForID(const nsAString& aID,
|
virtual void GetElementsForID(const nsAString& aID,
|
||||||
nsCOMArray<nsIContent>& aElements) MOZ_OVERRIDE;
|
nsCOMArray<nsIContent>& aElements) MOZ_OVERRIDE;
|
||||||
|
|
||||||
NS_IMETHOD GetScriptGlobalObjectOwner(nsIScriptGlobalObjectOwner** aGlobalOwner) MOZ_OVERRIDE;
|
|
||||||
NS_IMETHOD AddSubtreeToDocument(nsIContent* aContent) MOZ_OVERRIDE;
|
NS_IMETHOD AddSubtreeToDocument(nsIContent* aContent) MOZ_OVERRIDE;
|
||||||
NS_IMETHOD RemoveSubtreeFromDocument(nsIContent* aContent) MOZ_OVERRIDE;
|
NS_IMETHOD RemoveSubtreeFromDocument(nsIContent* aContent) MOZ_OVERRIDE;
|
||||||
NS_IMETHOD SetTemplateBuilderFor(nsIContent* aContent,
|
NS_IMETHOD SetTemplateBuilderFor(nsIContent* aContent,
|
||||||
|
Loading…
Reference in New Issue
Block a user