The DevTools window should manage lifetime itself.

This commit is contained in:
Cheng Zhao 2014-02-24 12:17:10 +08:00
parent eaedac2536
commit f65f95e95c
4 changed files with 19 additions and 12 deletions

View file

@ -130,7 +130,7 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
virtual void InspectElement(int x, int y);
// Creates a new window to debug the devtools.
virtual scoped_ptr<NativeWindow> DebugDevTools();
virtual void DebugDevTools();
virtual void FocusOnWebView();
virtual void BlurWebView();