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

Unified Diff: content/common/shared_memory_allocator.mojom

Issue 2488913003: Replacing allocate bitmap IPC messages with a new Mojo interface. (Closed)
Patch Set: More clean-ups Created 4 years, 1 month 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
Index: content/common/shared_memory_allocator.mojom
diff --git a/content/common/shared_memory_allocator.mojom b/content/common/shared_memory_allocator.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..1be85fa0ffa6c0e9dc63942aa922d40301a8dee7
--- /dev/null
+++ b/content/common/shared_memory_allocator.mojom
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module content.mojom;
+
+import "gpu/ipc/common/mailbox.mojom";
+
+interface SharedMemoryAllocator {
+
+ // Informs the browser that the child allocated a shared bitmap.
+ AllocatedSharedBitmap(handle<shared_buffer> buffer, gpu.mojom.Mailbox id);
+
+ // Informs the browser that the child deleted a shared bitmap.
+ DeletedSharedBitmap(gpu.mojom.Mailbox id);
+};

Powered by Google App Engine
This is Rietveld 408576698