Bug 44480. Demote 'width' and 'height' to NSHTMLDocument. r=jst

This commit is contained in:
waterson%netscape.com 2000-08-16 01:56:00 +00:00
Родитель 42d11e403d
Коммит c0abe2dff8
2 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -40,10 +40,6 @@ class nsIDOMNSDocument : public nsISupports {
public:
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 GetPlugins(nsIDOMPluginArray** aPlugins)=0;
@ -57,8 +53,6 @@ public:
#define NS_DECL_IDOMNSDOCUMENT \
NS_IMETHOD GetWidth(PRInt32* aWidth); \
NS_IMETHOD GetHeight(PRInt32* aHeight); \
NS_IMETHOD GetCharacterSet(nsString& aCharacterSet); \
NS_IMETHOD GetPlugins(nsIDOMPluginArray** aPlugins); \
NS_IMETHOD CreateElementWithNameSpace(const nsString& aTagName, const nsString& aNameSpace, nsIDOMElement** aReturn); \
@ -68,8 +62,6 @@ public:
#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 GetPlugins(nsIDOMPluginArray** aPlugins) { return _to GetPlugins(aPlugins); } \
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:
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 SetAlinkColor(const nsString& aAlinkColor)=0;
@ -80,6 +84,8 @@ public:
#define NS_DECL_IDOMNSHTMLDOCUMENT \
NS_IMETHOD GetWidth(PRInt32* aWidth); \
NS_IMETHOD GetHeight(PRInt32* aHeight); \
NS_IMETHOD GetAlinkColor(nsString& aAlinkColor); \
NS_IMETHOD SetAlinkColor(const nsString& aAlinkColor); \
NS_IMETHOD GetLinkColor(nsString& aLinkColor); \
@ -105,6 +111,8 @@ public:
#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 SetAlinkColor(const nsString& aAlinkColor) { return _to SetAlinkColor(aAlinkColor); } \
NS_IMETHOD GetLinkColor(nsString& aLinkColor) { return _to GetLinkColor(aLinkColor); } \