mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 21:39:56 +03:00
Add function to find if a bw is a frameset.
This commit is contained in:
parent
ff72d58f60
commit
eea369afe7
@ -476,6 +476,13 @@ bool browser_window_can_search(struct browser_window *bw)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/* exported interface, documented in desktop/browser.h */
|
||||
bool browser_window_is_frameset(struct browser_window *bw)
|
||||
{
|
||||
return (bw->children != NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set or remove a selection.
|
||||
*
|
||||
|
@ -594,6 +594,14 @@ char * browser_window_get_selection(struct browser_window *bw);
|
||||
*/
|
||||
bool browser_window_can_search(struct browser_window *bw);
|
||||
|
||||
/**
|
||||
* Find out if a browser window contains a frameset
|
||||
*
|
||||
* \param bw browser window to look at
|
||||
* \return true iff browser window contains a frameset
|
||||
*/
|
||||
bool browser_window_is_frameset(struct browser_window *bw);
|
||||
|
||||
|
||||
/**
|
||||
* Dump debug info concerning the browser window's contents to file
|
||||
|
Loading…
Reference in New Issue
Block a user