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

Unified Diff: content/browser/renderer_host/render_message_filter.h

Issue 2549213005: Reland of placing allocate bitmap IPC messages with a new Mojo interface. (Closed)
Patch Set: 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 | « no previous file | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index a7af9093a886e37ddc709fb38cf30ce1b362c467..cad9f3fb39539bfbd9af8afc249f607e3ebbb1af 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -129,6 +129,9 @@
void CreateFullscreenWidget(
int opener_id,
const CreateFullscreenWidgetCallback& callback) override;
+ void AllocatedSharedBitmap(mojo::ScopedSharedBufferHandle buffer,
+ const cc::SharedBitmapId& id) override;
+ void DeletedSharedBitmap(const cc::SharedBitmapId& id) override;
// Message handlers called on the browser IO thread:
void OnEstablishGpuChannel(IPC::Message* reply);
@@ -140,19 +143,6 @@
void GetGpuProcessHandlesCallback(
std::unique_ptr<IPC::Message> reply,
const std::list<base::ProcessHandle>& handles);
- // Used to ask the browser to allocate a block of shared memory for the
- // renderer to send back data in, since shared memory can't be created
- // in the renderer on POSIX due to the sandbox.
- void AllocateSharedBitmapOnFileThread(uint32_t buffer_size,
- const cc::SharedBitmapId& id,
- IPC::Message* reply_msg);
- void OnAllocateSharedBitmap(uint32_t buffer_size,
- const cc::SharedBitmapId& id,
- IPC::Message* reply_msg);
- void OnAllocatedSharedBitmap(size_t buffer_size,
- const base::SharedMemoryHandle& handle,
- const cc::SharedBitmapId& id);
- void OnDeletedSharedBitmap(const cc::SharedBitmapId& id);
void OnResolveProxy(const GURL& url, IPC::Message* reply_msg);
#if defined(OS_LINUX)
« no previous file with comments | « no previous file | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698