diff options
Diffstat (limited to 'desktop/browser.h')
-rw-r--r-- | desktop/browser.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/desktop/browser.h b/desktop/browser.h index e507b5826..fd25299d8 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -54,6 +54,10 @@ struct browser_window void (*caret_callback)(struct browser_window *bw, char key, void *p); void *caret_p; + + struct browser_window *parent; + unsigned int no_children; + struct browser_window **children; }; @@ -88,8 +92,8 @@ struct box_selection /* public functions */ -struct browser_window* create_browser_window(int flags, int width, int height); -void browser_window_destroy(struct browser_window* bw); +struct browser_window* create_browser_window(int flags, int width, int height, struct browser_window *parent); +void browser_window_destroy(struct browser_window* bw, bool self); void browser_window_open_location(struct browser_window* bw, const char* url); void browser_window_open_location_historical(struct browser_window* bw, const char* url, char *post_urlenc, |