mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add CefBrowser::ReloadIgnoreCache() method and MENU_ID_NAV_RELOAD_NOCACHE menu support. (issue #118).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@107 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -361,6 +361,9 @@ public:
|
||||
// Reload the current page.
|
||||
/*--cef()--*/
|
||||
virtual void Reload() =0;
|
||||
// Reload the current page ignoring any cached data.
|
||||
/*--cef()--*/
|
||||
virtual void ReloadIgnoreCache() =0;
|
||||
// Stop loading the page.
|
||||
/*--cef()--*/
|
||||
virtual void StopLoad() =0;
|
||||
|
@@ -210,6 +210,9 @@ typedef struct _cef_browser_t
|
||||
// Reload the current page.
|
||||
void (CEF_CALLBACK *reload)(struct _cef_browser_t* self);
|
||||
|
||||
// Reload the current page ignoring any cached data.
|
||||
void (CEF_CALLBACK *reload_ignore_cache)(struct _cef_browser_t* self);
|
||||
|
||||
// Stop loading the page.
|
||||
void (CEF_CALLBACK *stop_load)(struct _cef_browser_t* self);
|
||||
|
||||
|
@@ -185,7 +185,8 @@ enum cef_handler_menuid_t
|
||||
MENU_ID_NAV_BACK = 10,
|
||||
MENU_ID_NAV_FORWARD = 11,
|
||||
MENU_ID_NAV_RELOAD = 12,
|
||||
MENU_ID_NAV_STOP = 13,
|
||||
MENU_ID_NAV_RELOAD_NOCACHE = 13,
|
||||
MENU_ID_NAV_STOP = 14,
|
||||
MENU_ID_UNDO = 20,
|
||||
MENU_ID_REDO = 21,
|
||||
MENU_ID_CUT = 22,
|
||||
|
Reference in New Issue
Block a user