Make sure browserWindow.destroy() doesn't leave zombie processes.

This commit is contained in:
Cheng Zhao 2013-12-04 22:00:20 +08:00
parent 687c9de5d7
commit e45f83e62a
3 changed files with 16 additions and 0 deletions

View file

@ -114,6 +114,10 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
virtual void RestartHangMonitorTimeout();
virtual bool SetIcon(const std::string& path);
// Returns the process handle of render process, useful for killing the
// render process manually
virtual base::ProcessHandle GetRenderProcessHandle();
// Captures the page with |rect|, |callback| would be called when capturing is
// done.
virtual void CapturePage(const gfx::Rect& rect,