Changed nsIProgress::addListener and nsIWebBrowser::addListener to be addProgressListener and addWebBrowserListener respectively. This is to avoid confusing name conflicts. Implemented nsIWebBrowser::GetDocument() and nsIWebBrowser::GetDocShell().

This commit is contained in:
tbogard@aol.net
1999-10-26 02:37:14 +00:00
parent 4ebb00e4d3
commit 3ae36b30db
4 changed files with 21 additions and 16 deletions

View File

@@ -65,7 +65,7 @@ interface nsIWebBrowser : nsISupports
NS_ERROR_INVALID_ARG - The listener passed in was either nsnull,
or was already registered with this listener interface.
*/
void addListener(in nsIInterfaceRequestor listener, out long cookie);
void addWebBrowserListener(in nsIInterfaceRequestor listener, out long cookie);
/*
Removes a previously registered webBrowserListener.
@@ -81,7 +81,7 @@ interface nsIWebBrowser : nsISupports
NS_ERROR_INVALID_ARG - Neither the cookie nor the listener point
to a previously registered listener.
*/
void removeListener(in nsIInterfaceRequestor listener, in long cookie);
void removeWebBrowserListener(in nsIInterfaceRequestor listener, in long cookie);
/*
The current docShell that is loaded at the root. This will change as