Logo Search packages:      
Sourcecode: xulrunner version File versions

nsIWebNavigation Interface Reference

import "nsIWebNavigation.idl";

Inheritance diagram for nsIWebNavigation:


List of all members.

Detailed Description

The nsIWebNavigation interface defines an interface for navigating the web. It provides methods and attributes to direct an object to navigate to a new location, stop or restart an in process load, or determine where the object has previously gone.


Definition at line 56 of file nsIWebNavigation.idl.

Public Member Functions

void goBack ()
void goForward ()
void gotoIndex (in long index)
void loadURI (in wstring aURI, in unsigned long aLoadFlags, in nsIURI aReferrer, in nsIInputStream aPostData, in nsIInputStream aHeaders)
void reload (in unsigned long aReloadFlags)
void stop (in unsigned long aStopFlags)
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

readonly attribute boolean canGoBack
readonly attribute boolean canGoForward
readonly attribute nsIURI currentURI
readonly attribute nsIDOMDocument document
const unsigned long LOAD_FLAGS_ALLOW_POPUPS = 0x8000
const unsigned long LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP = 0x2000
const unsigned long LOAD_FLAGS_BYPASS_CACHE = 0x0100
const unsigned long LOAD_FLAGS_BYPASS_CLASSIFIER = 0x10000
const unsigned long LOAD_FLAGS_BYPASS_HISTORY = 0x0040
const unsigned long LOAD_FLAGS_BYPASS_PROXY = 0x0200
const unsigned long LOAD_FLAGS_CHARSET_CHANGE = 0x0400
const unsigned long LOAD_FLAGS_FIRST_LOAD = 0x4000
const unsigned long LOAD_FLAGS_FROM_EXTERNAL = 0x1000
const unsigned long LOAD_FLAGS_IS_LINK = 0x0020
const unsigned long LOAD_FLAGS_IS_REFRESH = 0x0010
const unsigned long LOAD_FLAGS_MASK = 0xffff
const unsigned long LOAD_FLAGS_NONE = 0x0000
const unsigned long LOAD_FLAGS_REPLACE_HISTORY = 0x0080
const unsigned long LOAD_FLAGS_STOP_CONTENT = 0x0800
readonly attribute nsIURI referringURI
attribute nsISHistory sessionHistory
const unsigned long STOP_ALL = 0x03
const unsigned long STOP_CONTENT = 0x02
const unsigned long STOP_NETWORK = 0x01

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index