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

Unified Diff: content/renderer/render_thread_impl.h

Issue 2488913003: Replacing allocate bitmap IPC messages with a new Mojo interface. (Closed)
Patch Set: Synced Created 4 years 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
« no previous file with comments | « content/renderer/pepper/pepper_compositor_host.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 0124bb925ecaebd9a88af7c650eb588c63927842..e3c7b9c23610df2a24252c67c13b3041a0672bd5 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -110,6 +110,7 @@ class BlobMessageFilter;
class BrowserPluginManager;
class CacheStorageDispatcher;
class ChildGpuMemoryBufferManager;
+class ChildSharedBitmapManager;
class CompositorForwardingMessageFilter;
class ContextProviderCommandBuffer;
class DBMessageFilter;
@@ -352,6 +353,11 @@ class CONTENT_EXPORT RenderThreadImpl
return vc_manager_.get();
}
+ ChildSharedBitmapManager* shared_bitmap_manager() const {
+ DCHECK(shared_bitmap_manager_);
+ return shared_bitmap_manager_.get();
+ }
+
mojom::RenderFrameMessageFilter* render_frame_message_filter();
mojom::RenderMessageFilter* render_message_filter();
const scoped_refptr<mojom::ThreadSafeRenderMessageFilterAssociatedPtr>&
@@ -609,6 +615,8 @@ class CONTENT_EXPORT RenderThreadImpl
std::unique_ptr<ThreadSafeAssociatedInterfacePtrProvider>
thread_safe_associated_interface_ptr_provider_;
+ std::unique_ptr<ChildSharedBitmapManager> shared_bitmap_manager_;
+
// The count of RenderWidgets running through this thread.
int widget_count_;
« no previous file with comments | « content/renderer/pepper/pepper_compositor_host.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698