Add BrowserWindow.restart() to restart renderer process.

This commit is contained in:
Cheng Zhao 2013-05-28 16:01:44 +08:00
parent 39bd56af4c
commit 9cf890bb61
4 changed files with 16 additions and 1 deletions

View file

@ -18,6 +18,10 @@ class AtomBrowserClient : public brightray::BrowserClient {
virtual void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,
const GURL& url,
webkit_glue::WebPreferences* prefs) OVERRIDE;
virtual bool ShouldSwapProcessesForNavigation(
content::SiteInstance* site_instance,
const GURL& current_url,
const GURL& new_url) OVERRIDE;
private:
virtual brightray::BrowserMainParts* OverrideCreateBrowserMainParts(