Changed loadURI to take an nsIURI instead of a wstring. Added a read-only attribute to get the currently loaded URI.

git-svn-id: svn://10.0.0.236/trunk@52925 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tbogard%aol.net
1999-11-07 09:57:56 +00:00
parent 813d03c1d2
commit 5ccaaeea48

View File

@@ -25,6 +25,7 @@
#include "domstubs.idl"
#include "nsIPref.idl"
#include "nsIURIContentListener.idl"
#include "nsIURI.idl"
%{ C++
#include "nsIPresContext.h"
@@ -62,7 +63,7 @@ interface nsIDocShell : nsISupports
@param presContext - Presentation Context to use for the new URL. This
may be null.
*/
[noscript]void LoadURI(in wstring uri, in nsIPresContext presContext);
[noscript]void loadURI(in nsIURI uri, in nsIPresContext presContext);
/*
Loads a given URI through the specified adapter. This will give priority
@@ -75,7 +76,7 @@ interface nsIDocShell : nsISupports
may be null.
@param adapterBinding - The local IP address of the adapter to bind to.
*/
[noscript]void LoadURIVia(in wstring uri, in nsIPresContext presContext,
[noscript]void loadURIVia(in nsIURI uri, in nsIPresContext presContext,
in unsigned long adapterBinding);
/*
@@ -92,6 +93,11 @@ interface nsIDocShell : nsISupports
*/
readonly attribute nsIDOMDocument document;
/*
The current URI that is loaded.
*/
readonly attribute nsIURI currentURI;
/*
name of the DocShell
*/