Provide a way to close devtools completely.
This commit is contained in:
parent
5768ff6981
commit
d2ff5ad798
4 changed files with 13 additions and 3 deletions
|
@ -23,6 +23,8 @@ class InspectableWebContents {
|
|||
virtual content::WebContents* GetWebContents() const = 0;
|
||||
|
||||
virtual void ShowDevTools() = 0;
|
||||
// Close the DevTools completely instead of just hide it.
|
||||
virtual void CloseDevTools() = 0;
|
||||
virtual bool IsDevToolsViewShowing() = 0;
|
||||
|
||||
// The delegate manages its own life.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue