Enable calling WebContents::openDevTools for BrowserWindow's WebContents

This commit is contained in:
Cheng Zhao 2015-06-05 15:41:03 +08:00
parent 67144aaf2a
commit 94d69777fa
5 changed files with 78 additions and 43 deletions

View file

@ -212,6 +212,10 @@ class NativeWindow : public CommonWebContentsDelegate,
observers_.RemoveObserver(obs);
}
brightray::InspectableWebContents* inspectable_web_contents() const {
return managed_web_contents();
}
bool has_frame() const { return has_frame_; }
bool is_html_api_fullscreen() const { return html_fullscreen_; }