mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 14:31:20 +03:00
Browser window: Add stubs for new interfaces for page-info dialogue.
This commit is contained in:
parent
d23a7b4c8f
commit
a39b651620
@ -4721,3 +4721,27 @@ browser_window_get_ssl_chain(struct browser_window *bw,
|
||||
|
||||
return NSERROR_OK;
|
||||
}
|
||||
|
||||
/* Exported interface, documented in browser_window.h */
|
||||
int browser_window_get_cookie_count(
|
||||
const struct browser_window *bw)
|
||||
{
|
||||
/** \todo Implement cookie count */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Exported interface, documented in browser_window.h */
|
||||
nserror browser_window_show_cookies(
|
||||
const struct browser_window *bw)
|
||||
{
|
||||
/** \todo Implement show cookies */
|
||||
return NSERROR_OK;
|
||||
}
|
||||
|
||||
/* Exported interface, documented in browser_window.h */
|
||||
nserror browser_window_show_certificates(
|
||||
const struct browser_window *bw)
|
||||
{
|
||||
/** \todo Implement show certificates */
|
||||
return NSERROR_OK;
|
||||
}
|
||||
|
@ -789,4 +789,33 @@ browser_window_page_info_state browser_window_get_page_info_state(
|
||||
*/
|
||||
nserror browser_window_get_ssl_chain(struct browser_window *bw, struct cert_chain **chain);
|
||||
|
||||
/**
|
||||
* Get the number of cookies in use for the current page.
|
||||
*
|
||||
* \param bw A browser window.
|
||||
* \return Number of cookies in use, or 0 on error.
|
||||
*/
|
||||
int browser_window_get_cookie_count(
|
||||
const struct browser_window *bw);
|
||||
|
||||
/**
|
||||
* Open cookie viewer for the current page.
|
||||
*
|
||||
* \param bw A browser window.
|
||||
* \return NSERROR_OK, or appropriate error otherwise.
|
||||
*/
|
||||
nserror browser_window_show_cookies(
|
||||
const struct browser_window *bw);
|
||||
|
||||
/**
|
||||
* Show the certificate page for the current page.
|
||||
*
|
||||
* Does nothing for a page without certificates.
|
||||
*
|
||||
* \param bw A browser window.
|
||||
* \return NSERROR_OK, or appropriate error otherwise.
|
||||
*/
|
||||
nserror browser_window_show_certificates(
|
||||
const struct browser_window *bw);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user