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:
Marshall Greenblatt
2010-09-23 16:05:10 +00:00
parent de51597b22
commit 4fd793f802
10 changed files with 55 additions and 16 deletions

View File

@@ -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;

View File

@@ -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);

View File

@@ -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,