Provide a way to close devtools completely.

This commit is contained in:
Cheng Zhao 2014-03-20 09:26:21 +08:00
parent 5768ff6981
commit d2ff5ad798
4 changed files with 13 additions and 3 deletions

View file

@ -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.