Add wxWebView methods to enable dev tools
Currently only implemented for the Edge (Chromium) backend.
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user