nsISupports
Last changed in Gecko 1.7 nsIGlobalHistory
void addURI(in nsIURI aURI, in boolean aRedirect, in boolean aToplevel, in nsIURI aReferrer); |
boolean isVisited(in nsIURI aURI); |
void setPageTitle(in nsIURI aURI, in AString aTitle); |
Add a URI to global history.
chrome:
, data:
, about:
and view-source:
. Embedders should consider filtering out these schemes and others, for example mailbox:
, for the main nsIURI and the referrer.void addURI( in nsIURI aURI, in boolean aRedirect, in boolean aToplevel, in nsIURI aReferrer );
aURI
nsIURI
of the page being added.aRedirect
true
for the original URI which is redirected.aToplevel
aReferrer
Checks to see whether the given URI is in history.
boolean isVisited( in nsIURI aURI );
aURI
nsIURI
of the page.true
if a URI has been visited.
Set the page title for the given uri. URIs that are not already in global history will not be added.
void setPageTitle( in nsIURI aURI, in AString aTitle );
aURI
nsIURI
for which to set to the title.aTitle