From 6eaf848c3ff5c6f55169b01f14aa21adec22d69a Mon Sep 17 00:00:00 2001 From: "tbogard%aol.net" Date: Thu, 24 Feb 2000 04:12:07 +0000 Subject: [PATCH] Added enumeration for the reload types and the parameter to reload. Work for 13374 and landing of new session history/ uriloading. r=mscott a=jevering --- docshell/base/nsIWebNavigation.idl | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docshell/base/nsIWebNavigation.idl b/docshell/base/nsIWebNavigation.idl index 1c9ad1be8ec..e2041a63c74 100644 --- a/docshell/base/nsIWebNavigation.idl +++ b/docshell/base/nsIWebNavigation.idl @@ -49,11 +49,17 @@ interface nsIWebNavigation : nsISupports /* Tells the object to navigate to the next Back session history item. + @return NS_OK - Back was successfull + NS_ERROR_UNEXPECTED - This call was unexpected at this time. Most + likely you can't go back right now. */ void goBack(); /* Tells the object to navigate to the next Forward session history item. + @return NS_OK - Forward was successfull + NS_ERROR_UNEXPECTED - This call was unexpected at this time. Most + likely you can't go forward right now. */ void goForward(); @@ -67,10 +73,18 @@ interface nsIWebNavigation : nsISupports */ void loadURI(in wstring uri); + /* + Definitions for the reload types. + */ + const long reloadNormal=0; // Does a normal reload + const long reloadBypassCache=2; // Reloads bypassing the cache + const long reloadBypassProxy=3; // Reloads bypassing the proxy + const long reloadBypassProxyAndCache=3; // Reloads bypassing proxy and cache + /* Tells the Object to reload the current location. */ - void reload(); //XXX Should take a cache parameter + void reload(in long reloadType); /* Stops a load of a URI.