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

Unified Diff: third_party/WebKit/Source/core/mojo/MojoSharedBuffer.idl

Issue 2720873002: Implements JS bindings for mojo shared buffer. (Closed)
Patch Set: Created 3 years, 10 months 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: third_party/WebKit/Source/core/mojo/MojoSharedBuffer.idl
diff --git a/third_party/WebKit/Source/core/mojo/MojoSharedBuffer.idl b/third_party/WebKit/Source/core/mojo/MojoSharedBuffer.idl
new file mode 100644
index 0000000000000000000000000000000000000000..20ec74263b76ba3d5f6b8a7a3278e4a78cce7e8b
--- /dev/null
+++ b/third_party/WebKit/Source/core/mojo/MojoSharedBuffer.idl
@@ -0,0 +1,10 @@
+// Copyright 2017 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.
+
+[
+ RuntimeEnabled=MojoJS,
+] interface MojoSharedBuffer {
+ readonly attribute ArrayBuffer buffer;
jbroman 2017/02/27 20:14:44 Can this be mapped in multiple threads/processes a
alokp 2017/02/27 20:30:34 Now that I think about it, I named this interface
yzshen1 2017/02/27 21:05:27 I don't think mojo provides any extra read/write s
+ void unmap();
+};

Powered by Google App Engine
This is Rietveld 408576698