summaryrefslogtreecommitdiff
path: root/desktop/browser.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-02-09 13:07:39 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2014-02-09 13:07:39 +0000
commitea79e85fcd109a5bf5f222cece8435305fc8626a (patch)
treeb8d846b7e6a82c0dc88360ba0118187d712f160f /desktop/browser.h
parent987218e144f95e1917f1eb8956fed8a712ec3a70 (diff)
downloadnetsurf-ea79e85fcd109a5bf5f222cece8435305fc8626a.tar.gz
netsurf-ea79e85fcd109a5bf5f222cece8435305fc8626a.tar.bz2
Clean up gui_window creation API.
Diffstat (limited to 'desktop/browser.h')
-rw-r--r--desktop/browser.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/desktop/browser.h b/desktop/browser.h
index b0a5c506c..095360e5e 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -130,6 +130,16 @@ nserror browser_window_navigate(struct browser_window *bw,
nsurl * browser_window_get_url(struct browser_window *bw);
/**
+ * Get a browser window's history object.
+ *
+ * \param bw browser window
+ * \return pointer browser window's history object
+ *
+ * Clients need history object to make use of the history_* functions.
+ */
+struct history * browser_window_get_history(struct browser_window *bw);
+
+/**
* Get a browser window's content extents.
*
* \param bw browser window