Merge branch 'master' into webview-chromium-new

This pulls in wxWebView::SetProxy() addition.
This commit is contained in:
Vadim Zeitlin 2023-09-08 01:34:21 +02:00
commit 81283f84dd
8 changed files with 122 additions and 0 deletions

View file

@ -1231,6 +1231,20 @@ public:
*/
virtual wxString GetUserAgent() const;
/**
Set the proxy to use for all requests.
The @a proxy string must be a valid proxy specification, e.g. @c
http://my.local.proxy.corp:8080
@note Currently this function is only implemented in WebKit2 and Edge
backends and must be called before Create() for the latter one.
@return @true if proxy was set successfully or @false if it failed,
e.g. because this is not supported by the currently used backend.
*/
virtual bool SetProxy(const wxString& proxy);
/**
@name Scripting
*/