path: root/include/netsurf/browser_window.h
Commit message (Collapse)AuthorAgeFilesLines
* Browser window API: Add count for page state enum.Michael Drake2020-02-231-0/+1
* Browser window: Add stubs for new interfaces for page-info dialogue.Michael Drake2020-02-231-0/+29
* Browser window: Constify bw through page_info_state getter.Michael Drake2020-02-231-1/+1
* Keep the complete certificate chain from a fetchVincent Sanders2020-02-231-5/+3
| | | | | | | | | Instead of extracting information from the X509 certificate chain in the fetcher the entire chain is propagated in Distinguished Encoding Rules (DER) format. This allows all the information contained in a certificate chain to be retained which can subsequently be presented to the user
* Browser window: Constify the bw in the URL access function.Michael Drake2020-02-221-1/+1
* Browser: Support requesting location focusDaniel Silverstone2020-02-221-0/+3
| | | | | | | | | 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-0/+3
| | | | | | | | | 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 basic page info state and SSL accessorsDaniel Silverstone2019-12-011-0/+45
| | | | | | | In order to begin work on the page info dialog, we need access to the current page's state and SSL chain if available. Signed-off-by: Daniel Silverstone <>
* re-indent browser window and cleanup commentsVincent Sanders2019-09-291-3/+4
| | | | no functional change
* Reimplement handling of BAD_AUTH inside browser_windowDaniel Silverstone2019-08-061-1/+4
| | | | | | | | | | | | | We now handle authentication requests via an `about:` page which presents a nice form built into the browser window. In order to do this, we add internal navigation as a concept to the browser window and we strip the 401login support from all frontends except monkey. The 401login callback is now intended for password safe type support rather than an immediately interactive prompt. Signed-off-by: Daniel Silverstone <>
* remove unused interfaceVincent Sanders2019-08-031-9/+0
* remove unnecessary browser_window_redraw_rect interfaceVincent Sanders2019-08-031-18/+18
* improve browser_window_set_scaleVincent Sanders2019-08-031-2/+3
| | | | | | Allow scale setting to use an absolute value or a relative value. This also imposes sanity limits on the scale range (currently 0.2 to 10.0) and removes the old junk "all" parameter.
* split browser and browser_window operationsVincent Sanders2019-08-011-15/+2
* Logging: migrate and provide content interfaceDaniel Silverstone2019-05-051-37/+1
| | | | | | | | Migrate the console enums into netsurf/console.h and add support so that contents can raise a message to log to the console. Signed-off-by: Daniel Silverstone <>
* Provide new browser_window_console_log() APIDaniel Silverstone2019-05-051-0/+56
| | | | Signed-off-by: Daniel Silverstone <>
* Add browser_window_execDaniel Silverstone2019-05-051-0/+12
| | | | Signed-off-by: Daniel Silverstone <>
* Browser: Add function to get bw URL with any fragment.Michael Drake2018-07-231-0/+13
| | | | This returns a ref to the URL.
* Browser: Rename function to access bw URL.Michael Drake2018-07-231-2/+2
* Add concept of browser scroll offset saving in local historyDaniel Silverstone2017-09-231-1/+4
* simplify the browser window operations by removing scroll APIVincent Sanders2017-04-261-20/+0
| | | | | 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-9/+24
| | | | | | 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.
* split out browser window drag context into separate structureVincent Sanders2017-03-031-0/+3
* move plotters header into public APIVincent Sanders2016-05-301-2/+2
* move desktop window header into public APIVincent Sanders2016-05-301-0/+714