Index: chrome/browser/chrome_content_browser_client.h |
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h |
index 9f2ecc61def948f532bde63ee92fbf92da68c369..e059d07498573e4f10e79cd4c1f8847137251c2d 100644 |
--- a/chrome/browser/chrome_content_browser_client.h |
+++ b/chrome/browser/chrome_content_browser_client.h |
@@ -62,6 +62,9 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient { |
virtual void GuestWebContentsCreated( |
content::WebContents* guest_web_contents, |
content::WebContents* embedder_web_contents) OVERRIDE; |
+ virtual void GuestWebContentsDestroyed( |
+ content::WebContents* guest_web_contents, |
+ content::WebContents* embedder_web_contents) OVERRIDE; |
virtual void RenderProcessHostCreated( |
content::RenderProcessHost* host) OVERRIDE; |
virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
@@ -234,6 +237,11 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient { |
// Sets io_thread_application_locale_ to the given value. |
void SetApplicationLocaleOnIOThread(const std::string& locale); |
+ void RemoveWebViewEventListenersOnIOThread(void* profile, |
+ const std::string& extension_id, |
+ int embedder_process_id, |
+ int embedder_routing_id, |
+ int web_view_instance_id); |
// Set of origins that can use TCP/UDP private APIs from NaCl. |
std::set<std::string> allowed_socket_origins_; |