summaryrefslogtreecommitdiffstats
path: root/content/public/browser/render_process_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/browser/render_process_host.h')
-rw-r--r--content/public/browser/render_process_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
index 19bb6af..bb77498 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -277,6 +277,10 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
int cdm_id) const = 0;
#endif
+ // Returns the current number of active views in this process. Excludes
+ // any RenderViewHosts that are swapped out.
+ int GetActiveViewCount();
+
// Static management functions -----------------------------------------------
// Flag to run the renderer in process. This is primarily