Add API to get whether the devtools is opened.

This commit is contained in:
Cheng Zhao 2013-11-05 10:29:53 +08:00
parent afc627aae1
commit de7892cd6e
10 changed files with 24 additions and 2 deletions

View file

@ -41,6 +41,7 @@ class InspectableWebContentsImpl :
virtual content::WebContents* GetWebContents() const OVERRIDE;
virtual void ShowDevTools() OVERRIDE;
virtual bool IsDevToolsOpened() OVERRIDE;
content::WebContents* devtools_web_contents() {
return devtools_web_contents_.get();