summaryrefslogtreecommitdiff
path: root/desktop/browser.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-10-18 10:16:00 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-10-18 10:16:00 +0100
commit34cdbcfc2553e2e16f47308352ec69a64a2740a3 (patch)
treed5e41c69fd8a371afa40f5d37c980e5116ddd062 /desktop/browser.h
parent56a5ad11f3e98ef50a8de243dc509c3a0c603e32 (diff)
downloadnetsurf-34cdbcfc2553e2e16f47308352ec69a64a2740a3.tar.gz
netsurf-34cdbcfc2553e2e16f47308352ec69a64a2740a3.tar.bz2
Move up_available fn to core.
Diffstat (limited to 'desktop/browser.h')
-rw-r--r--desktop/browser.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/browser.h b/desktop/browser.h
index 9cc0ee47a..f4943172e 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -152,6 +152,14 @@ nserror browser_window_navigate(struct browser_window *bw,
struct hlcache_handle *parent);
/**
+ * Return true if a browser window can navigate upwards.
+ *
+ * \param bw the browser window to test.
+ * \return true if navigation up is possible otherwise false.
+ */
+bool browser_window_up_available(struct browser_window *bw);
+
+/**
* Navigate to a browser_window's parent URL.
*
* \param bw browser window