path: root/include/netsurf/window.h
Commit message (Collapse)AuthorAgeFilesLines
* Browser: Support requesting location focusDaniel Silverstone2020-02-221-0/+1
| | | | | | | | | In the creation of a browser window it may be valuable to request that the GUI focus the location input box. This can be used when the user requests a new tab/window to allow the entry box to be focussed properly immediately. Signed-off-by: Daniel Silverstone <>
* Browser: Add FOREGROUND flag to window creationDaniel Silverstone2020-02-221-1/+2
| | | | | | | | | To better support new-tab / new-window operations as well as GUIs which want to allow tabs to open in the background by default, add a flag to request a new browser window be foregrounded. This will allow us to simplify at least the GTK frontend a little. Signed-off-by: Daniel Silverstone <>
* browser_window: Add an event for page info state changeDaniel Silverstone2019-12-011-0/+6
| | | | Signed-off-by: Daniel Silverstone <>
* fix spelling mistakes from miscellaneous event commitVincent Sanders2019-08-201-5/+5
* add miscellaneous event to browser window callback tableVincent Sanders2019-08-201-56/+65
| | | | | | | | | | | | extend the browser window callback table with a miscallaneous event entry. This is used to replace all browser window callbacks which take no parameters. This reduces the API surface from seven separate calls to a single call with an enumeration which may be readily extended. The initial implementation in the frontends simply calls the original implementations to reduce scope for errors.
* remove scaled parameter from get_dimensionsVincent Sanders2019-08-021-2/+1
* Add console_log to gui tablesDaniel Silverstone2019-05-061-0/+19
| | | | Signed-off-by: Daniel Silverstone <>
* improve documentation comments in browser window interface tableVincent Sanders2017-05-011-31/+57
* simplify the browser window operations by removing scroll APIVincent Sanders2017-04-261-18/+13
| | | | | The browser window scrollingAPI was duplicated in window operation table, this simplifies it to a single set_scroll API.
* remove reformat from browser window operation tableVincent Sanders2017-04-261-22/+23
| | | | | | the reformat callback was completely unecessary and implementations appeared potentialy buggy. This rationalises the API and reduces the number of operations a frontend must provide.
* replace redraw and update methods with invalidate in window table APIVincent Sanders2017-04-191-14/+22
* Improve window operation table documentationVincent Sanders2016-10-261-10/+35
* move netsurf header into public APIVincent Sanders2016-05-301-2/+2
* move window header into public APIVincent Sanders2016-05-301-0/+291