Add wxWebView methods to enable dev tools

Currently only implemented for the Edge (Chromium) backend.
This commit is contained in:
Tobias Taschner
2020-01-10 17:02:44 +01:00
parent f2196abca3
commit d72e5874eb
5 changed files with 61 additions and 2 deletions

View File

@@ -687,6 +687,27 @@ public:
*/
virtual bool IsContextMenuEnabled() const;
/**
@name Dev Tools
*/
/**
Enable or disable access to dev tools for the user.
This is currently only implemented for the Edge (Chromium) backend
where the dev tools are enabled by default.
@since 3.1.4
*/
virtual void EnableDevTools(bool enable = true);
/**
Returns @true if dev tools are available to the user.
@since 3.1.4
*/
virtual bool IsDevToolsEnabled() const;
/**
@name History
*/