summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/render_widget_host_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/render_widget_host_impl.h')
-rw-r--r--content/browser/renderer_host/render_widget_host_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 5aa6a96..c581cdd 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -97,6 +97,11 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
// Similar to RenderWidgetHost::FromID, but returning the Impl object.
static RenderWidgetHostImpl* FromID(int32 process_id, int32 routing_id);
+ // Returns all RenderWidgetHosts including swapped out ones for
+ // internal use. The public interface
+ // RendgerWidgetHost::GetRenderWidgetHosts only returns active ones.
+ static std::vector<RenderWidgetHost*> GetAllRenderWidgetHosts();
+
// Use RenderWidgetHostImpl::From(rwh) to downcast a
// RenderWidgetHost to a RenderWidgetHostImpl. Internally, this
// uses RenderWidgetHost::AsRenderWidgetHostImpl().