mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
Move browser_window_update_extent to browser_private.h
This commit is contained in:
parent
e33737ef23
commit
022a303d60
@ -295,7 +295,7 @@ bool browser_window_redraw_ready(struct browser_window *bw)
|
||||
return true;
|
||||
}
|
||||
|
||||
/* exported interface, documented in browser.h */
|
||||
/* exported interface, documented in browser_private.h */
|
||||
void browser_window_update_extent(struct browser_window *bw)
|
||||
{
|
||||
if (bw->window != NULL)
|
||||
|
@ -261,14 +261,6 @@ bool browser_window_redraw(struct browser_window *bw, int x, int y,
|
||||
*/
|
||||
bool browser_window_redraw_ready(struct browser_window *bw);
|
||||
|
||||
/**
|
||||
* Update the extent of the inside of a browser window to that of the current
|
||||
* content
|
||||
*
|
||||
* \param bw browser_window to update the extent of
|
||||
*/
|
||||
void browser_window_update_extent(struct browser_window *bw);
|
||||
|
||||
/**
|
||||
* Get the position of the current browser window with respect to the root or
|
||||
* parent browser window
|
||||
|
@ -163,4 +163,14 @@ struct browser_window {
|
||||
int status_miss; /**< Number of times status was really updated. */
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Update the extent of the inside of a browser window to that of the current
|
||||
* content
|
||||
*
|
||||
* \param bw browser_window to update the extent of
|
||||
*/
|
||||
void browser_window_update_extent(struct browser_window *bw);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user