summaryrefslogtreecommitdiff
path: root/chromium/content/public/browser/render_process_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/public/browser/render_process_host.h')
-rw-r--r--chromium/content/public/browser/render_process_host.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/chromium/content/public/browser/render_process_host.h b/chromium/content/public/browser/render_process_host.h
index 97595f18ea2..4e8c555f5b2 100644
--- a/chromium/content/public/browser/render_process_host.h
+++ b/chromium/content/public/browser/render_process_host.h
@@ -33,6 +33,10 @@ namespace service_manager {
class Identity;
}
+namespace viz {
+class HostSharedBitmapManagerClient;
+}
+
namespace content {
class BrowserContext;
class BrowserMessageFilter;
@@ -363,6 +367,12 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
// be posted back on the UI thread).
void PostTaskWhenProcessIsReady(base::OnceClosure task);
+ // Returns the SharedBitmapAllocationNotifier associated with this process.
+ // SharedBitmapAllocationNotifier manages viz::SharedBitmaps created by this
+ // process and can notify observers when a new SharedBitmap is allocated.
+ virtual viz::HostSharedBitmapManagerClient*
+ GetSharedBitmapAllocationNotifier() = 0;
+
// Static management functions -----------------------------------------------
// Flag to run the renderer in process. This is primarily