From e1a9b1cf06f847fa26b1a9c506299d16e74d6fcb Mon Sep 17 00:00:00 2001 From: "buster%netscape.com" Date: Thu, 11 Nov 1999 00:35:36 +0000 Subject: [PATCH] changed args to SetDocument added attribute nsIDocumentLoaderObserver docLoaderObserver; git-svn-id: svn://10.0.0.236/trunk@53135 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsIDocShell.idl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/mozilla/docshell/base/nsIDocShell.idl b/mozilla/docshell/base/nsIDocShell.idl index 243413fd76d..9090d5be83d 100644 --- a/mozilla/docshell/base/nsIDocShell.idl +++ b/mozilla/docshell/base/nsIDocShell.idl @@ -29,6 +29,7 @@ %{ C++ #include "nsIPresContext.h" +#include "nsIDocumentLoaderObserver.h" %} /** @@ -49,6 +50,7 @@ */ [ptr] native nsIPresContext(nsIPresContext); +[ptr] native nsIDocumentLoaderObserver(nsIDocumentLoaderObserver); [scriptable, uuid(69E5DE00-7B8B-11d3-AF61-00A024FFC08C)] interface nsIDocShell : nsISupports @@ -84,9 +86,9 @@ interface nsIDocShell : nsISupports a load. @param document - The document to load. - @param + @param rootNode - The root of the document content, to be hooked up */ - [noscript]void SetDocument(in nsIDOMDocument document, in nsIPresContext presContext); + [noscript]void setDocument(in nsIDOMDocument document, in nsIDOMElement rootNode); /* The current document that is loaded in the DocShell. @@ -98,6 +100,11 @@ interface nsIDocShell : nsISupports */ readonly attribute nsIURI currentURI; + /* clients may get and set an nsIDocumentLoaderObserver, which will be notified + * during loadURI, loadURIVia, and setDocument + */ + attribute nsIDocumentLoaderObserver docLoaderObserver; + /* name of the DocShell */