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
This commit is contained in:
Родитель
4090ddbfc2
Коммит
6eaf848c3f
|
@ -49,11 +49,17 @@ interface nsIWebNavigation : nsISupports
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Tells the object to navigate to the next Back session history item.
|
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();
|
void goBack();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Tells the object to navigate to the next Forward session history item.
|
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();
|
void goForward();
|
||||||
|
|
||||||
|
@ -67,10 +73,18 @@ interface nsIWebNavigation : nsISupports
|
||||||
*/
|
*/
|
||||||
void loadURI(in wstring uri);
|
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.
|
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.
|
Stops a load of a URI.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче