sr=scc. 68187. making weak reference implementation on the browser listener part requirement explicit. API change.

This commit is contained in:
valeski@netscape.com
2001-02-14 03:12:33 +00:00
parent 863c91875b
commit 5d8107a28b
8 changed files with 29 additions and 25 deletions

View File

@@ -26,6 +26,7 @@ interface nsIInterfaceRequestor;
interface nsIWebBrowserChrome;
interface nsIURIContentListener;
interface nsIDOMWindow;
interface nsIWeakReference;
/**
* The nsIWebBrowser
@@ -50,7 +51,7 @@ interface nsIWebBrowser : nsISupports
for the specified IID, or some other internal error
occurred.
*/
void addWebBrowserListener(in nsISupports aListener, in nsIIDRef aIID);
void addWebBrowserListener(in nsIWeakReference aListener, in nsIIDRef aIID);
/*
Removes a previously registered listener.
@@ -66,7 +67,7 @@ interface nsIWebBrowser : nsISupports
for the specified IID, or some other internal error
occurred.
*/
void removeWebBrowserListener(in nsISupports aListener, in nsIIDRef aIID);
void removeWebBrowserListener(in nsIWeakReference aListener, in nsIIDRef aIID);
/*
This is the top level window embedding the browser. The object passed in