summaryrefslogtreecommitdiff
path: root/desktop/browser.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-03-23 22:22:30 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-03-23 22:22:30 +0000
commit0a7e10819b40d34ce5b13e582ac057e3fe1abfe6 (patch)
tree6a8fe7b430b372fe6c7ada538e897b459e49047e /desktop/browser.h
parent972cd147aa05f86a555641a74481404e4cc152db (diff)
downloadnetsurf-0a7e10819b40d34ce5b13e582ac057e3fe1abfe6.tar.gz
netsurf-0a7e10819b40d34ce5b13e582ac057e3fe1abfe6.tar.bz2
Add functions for checking if back/forward/stop/reload actions are currently available for a given browser window.
svn path=/trunk/netsurf/; revision=6827
Diffstat (limited to 'desktop/browser.h')
-rw-r--r--desktop/browser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/browser.h b/desktop/browser.h
index ef9a3b061..062c0dec4 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -250,6 +250,11 @@ void browser_form_submit(struct browser_window *bw, struct browser_window *targe
void browser_window_redraw_rect(struct browser_window *bw, int x, int y,
int width, int height);
+bool browser_window_back_available(struct browser_window *bw);
+bool browser_window_forward_available(struct browser_window *bw);
+bool browser_window_reload_available(struct browser_window *bw);
+bool browser_window_stop_available(struct browser_window *bw);
+
/* In platform specific hotlist.c. */
void hotlist_visited(struct content *content);