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
This commit is contained in:
rpotts
1998-07-01 11:28:05 +00:00
parent 4f2d809c6b
commit a93275bb44

View File

@@ -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,