зеркало из https://github.com/mozilla/gecko-dev.git
Bug 44480. Demote 'width' and 'height' to NSHTMLDocument. r=jst
This commit is contained in:
Родитель
42d11e403d
Коммит
c0abe2dff8
|
@ -40,10 +40,6 @@ class nsIDOMNSDocument : public nsISupports {
|
||||||
public:
|
public:
|
||||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNSDOCUMENT_IID; return iid; }
|
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNSDOCUMENT_IID; return iid; }
|
||||||
|
|
||||||
NS_IMETHOD GetWidth(PRInt32* aWidth)=0;
|
|
||||||
|
|
||||||
NS_IMETHOD GetHeight(PRInt32* aHeight)=0;
|
|
||||||
|
|
||||||
NS_IMETHOD GetCharacterSet(nsString& aCharacterSet)=0;
|
NS_IMETHOD GetCharacterSet(nsString& aCharacterSet)=0;
|
||||||
|
|
||||||
NS_IMETHOD GetPlugins(nsIDOMPluginArray** aPlugins)=0;
|
NS_IMETHOD GetPlugins(nsIDOMPluginArray** aPlugins)=0;
|
||||||
|
@ -57,8 +53,6 @@ public:
|
||||||
|
|
||||||
|
|
||||||
#define NS_DECL_IDOMNSDOCUMENT \
|
#define NS_DECL_IDOMNSDOCUMENT \
|
||||||
NS_IMETHOD GetWidth(PRInt32* aWidth); \
|
|
||||||
NS_IMETHOD GetHeight(PRInt32* aHeight); \
|
|
||||||
NS_IMETHOD GetCharacterSet(nsString& aCharacterSet); \
|
NS_IMETHOD GetCharacterSet(nsString& aCharacterSet); \
|
||||||
NS_IMETHOD GetPlugins(nsIDOMPluginArray** aPlugins); \
|
NS_IMETHOD GetPlugins(nsIDOMPluginArray** aPlugins); \
|
||||||
NS_IMETHOD CreateElementWithNameSpace(const nsString& aTagName, const nsString& aNameSpace, nsIDOMElement** aReturn); \
|
NS_IMETHOD CreateElementWithNameSpace(const nsString& aTagName, const nsString& aNameSpace, nsIDOMElement** aReturn); \
|
||||||
|
@ -68,8 +62,6 @@ public:
|
||||||
|
|
||||||
|
|
||||||
#define NS_FORWARD_IDOMNSDOCUMENT(_to) \
|
#define NS_FORWARD_IDOMNSDOCUMENT(_to) \
|
||||||
NS_IMETHOD GetWidth(PRInt32* aWidth) { return _to GetWidth(aWidth); } \
|
|
||||||
NS_IMETHOD GetHeight(PRInt32* aHeight) { return _to GetHeight(aHeight); } \
|
|
||||||
NS_IMETHOD GetCharacterSet(nsString& aCharacterSet) { return _to GetCharacterSet(aCharacterSet); } \
|
NS_IMETHOD GetCharacterSet(nsString& aCharacterSet) { return _to GetCharacterSet(aCharacterSet); } \
|
||||||
NS_IMETHOD GetPlugins(nsIDOMPluginArray** aPlugins) { return _to GetPlugins(aPlugins); } \
|
NS_IMETHOD GetPlugins(nsIDOMPluginArray** aPlugins) { return _to GetPlugins(aPlugins); } \
|
||||||
NS_IMETHOD CreateElementWithNameSpace(const nsString& aTagName, const nsString& aNameSpace, nsIDOMElement** aReturn) { return _to CreateElementWithNameSpace(aTagName, aNameSpace, aReturn); } \
|
NS_IMETHOD CreateElementWithNameSpace(const nsString& aTagName, const nsString& aNameSpace, nsIDOMElement** aReturn) { return _to CreateElementWithNameSpace(aTagName, aNameSpace, aReturn); } \
|
||||||
|
|
|
@ -40,6 +40,10 @@ class nsIDOMNSHTMLDocument : public nsISupports {
|
||||||
public:
|
public:
|
||||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNSHTMLDOCUMENT_IID; return iid; }
|
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNSHTMLDOCUMENT_IID; return iid; }
|
||||||
|
|
||||||
|
NS_IMETHOD GetWidth(PRInt32* aWidth)=0;
|
||||||
|
|
||||||
|
NS_IMETHOD GetHeight(PRInt32* aHeight)=0;
|
||||||
|
|
||||||
NS_IMETHOD GetAlinkColor(nsString& aAlinkColor)=0;
|
NS_IMETHOD GetAlinkColor(nsString& aAlinkColor)=0;
|
||||||
NS_IMETHOD SetAlinkColor(const nsString& aAlinkColor)=0;
|
NS_IMETHOD SetAlinkColor(const nsString& aAlinkColor)=0;
|
||||||
|
|
||||||
|
@ -80,6 +84,8 @@ public:
|
||||||
|
|
||||||
|
|
||||||
#define NS_DECL_IDOMNSHTMLDOCUMENT \
|
#define NS_DECL_IDOMNSHTMLDOCUMENT \
|
||||||
|
NS_IMETHOD GetWidth(PRInt32* aWidth); \
|
||||||
|
NS_IMETHOD GetHeight(PRInt32* aHeight); \
|
||||||
NS_IMETHOD GetAlinkColor(nsString& aAlinkColor); \
|
NS_IMETHOD GetAlinkColor(nsString& aAlinkColor); \
|
||||||
NS_IMETHOD SetAlinkColor(const nsString& aAlinkColor); \
|
NS_IMETHOD SetAlinkColor(const nsString& aAlinkColor); \
|
||||||
NS_IMETHOD GetLinkColor(nsString& aLinkColor); \
|
NS_IMETHOD GetLinkColor(nsString& aLinkColor); \
|
||||||
|
@ -105,6 +111,8 @@ public:
|
||||||
|
|
||||||
|
|
||||||
#define NS_FORWARD_IDOMNSHTMLDOCUMENT(_to) \
|
#define NS_FORWARD_IDOMNSHTMLDOCUMENT(_to) \
|
||||||
|
NS_IMETHOD GetWidth(PRInt32* aWidth) { return _to GetWidth(aWidth); } \
|
||||||
|
NS_IMETHOD GetHeight(PRInt32* aHeight) { return _to GetHeight(aHeight); } \
|
||||||
NS_IMETHOD GetAlinkColor(nsString& aAlinkColor) { return _to GetAlinkColor(aAlinkColor); } \
|
NS_IMETHOD GetAlinkColor(nsString& aAlinkColor) { return _to GetAlinkColor(aAlinkColor); } \
|
||||||
NS_IMETHOD SetAlinkColor(const nsString& aAlinkColor) { return _to SetAlinkColor(aAlinkColor); } \
|
NS_IMETHOD SetAlinkColor(const nsString& aAlinkColor) { return _to SetAlinkColor(aAlinkColor); } \
|
||||||
NS_IMETHOD GetLinkColor(nsString& aLinkColor) { return _to GetLinkColor(aLinkColor); } \
|
NS_IMETHOD GetLinkColor(nsString& aLinkColor) { return _to GetLinkColor(aLinkColor); } \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче