From a93275bb448f91ac2fa314735ae5657a07ed01dd Mon Sep 17 00:00:00 2001 From: rpotts Date: Wed, 1 Jul 1998 11:28:05 +0000 Subject: [PATCH] Changed some interface methods to use NS_IMETHOD for consistancy... git-svn-id: svn://10.0.0.236/trunk@4800 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webshell/public/nsIWebWidget.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mozilla/webshell/public/nsIWebWidget.h b/mozilla/webshell/public/nsIWebWidget.h index 482f69e7026..656b5dc4819 100644 --- a/mozilla/webshell/public/nsIWebWidget.h +++ b/mozilla/webshell/public/nsIWebWidget.h @@ -21,6 +21,9 @@ #include "nsweb.h" #include "nsIDocumentWidget.h" #include "nsIScrollableView.h" + +// Forward declarations... +class nsIDocument; class nsIDOMDocument; class nsILinkHandler; class nsIPresContext; @@ -43,15 +46,15 @@ class nsIWebWidget : public nsIDocumentWidget { public: // Create a native window for this web widget; may be called once - virtual nsresult Init(nsNativeWidget aNativeParent, - const nsRect& aBounds, - nsScrollPreference aScrolling = nsScrollPreference_kAuto) = 0; + NS_IMETHOD Init(nsNativeWidget aNativeParent, + const nsRect& aBounds, + nsScrollPreference aScrolling = nsScrollPreference_kAuto) = 0; // Create a native window for this web widget; may be called once. // Use the given presentation context and document for the widget // (this widget becomes a second view on the document using the // context for presentation). - virtual nsresult Init(nsNativeWidget aNativeParent, + NS_IMETHOD Init(nsNativeWidget aNativeParent, const nsRect& aBounds, nsIDocument* aDocument, nsIPresContext* aPresContext,