Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2293)

Unified Diff: chrome/browser/renderer_host/chrome_render_view_host_observer.h

Issue 10113005: Remove EPM:all_hosts_ and use all_extension_views_ instead. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: interactive_ui_tests Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/chrome_render_view_host_observer.h
diff --git a/chrome/browser/renderer_host/chrome_render_view_host_observer.h b/chrome/browser/renderer_host/chrome_render_view_host_observer.h
index 3d43e53d1ba3051e5afd2e9aa81b3ed1720d4599..690c31fc9c22b6a4990f3937719fdb3fd4d2b667 100644
--- a/chrome/browser/renderer_host/chrome_render_view_host_observer.h
+++ b/chrome/browser/renderer_host/chrome_render_view_host_observer.h
@@ -12,6 +12,10 @@ namespace chrome_browser_net {
class Predictor;
}
+namespace content {
+class WebContents;
+}
+
class Extension;
class Profile;
@@ -40,6 +44,8 @@ class ChromeRenderViewHostObserver : public content::RenderViewHostObserver {
const Extension* GetExtension();
// Cleans up when a RenderViewHost is removed, or on destruction.
void RemoveRenderViewHostForExtensions(content::RenderViewHost* rvh);
+ // Retrieves the WebContents for a RenderViewHost.
+ content::WebContents* GetWebContents(content::RenderViewHost* rvh);
void OnFocusedEditableNodeTouched();
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698