| Index: ppapi/api/ppb_mojo.idl
|
| diff --git a/ppapi/api/ppb_mojo.idl b/ppapi/api/ppb_mojo.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6ab0907d0ef20ae2ca8fde4dd21b6a45a624ec15
|
| --- /dev/null
|
| +++ b/ppapi/api/ppb_mojo.idl
|
| @@ -0,0 +1,26 @@
|
| +/* Copyright (c) 2014 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.
|
| + */
|
| +
|
| +[generate_thunk]
|
| +
|
| +label Chrome {
|
| + M38 = 0.1
|
| +};
|
| +
|
| +/* An interface to expose Mojo services to pepper plugins. */
|
| +[singleton]
|
| +interface PPB_Mojo {
|
| + /*
|
| + * Connects to the given service_name, and provides a mojo_handle on success.
|
| + *
|
| + * TODO(teravest): It'd be nice to use something more typesafe than int32_t
|
| + * here.
|
| + */
|
| + int32_t GetHandle([in] PP_Instance instance,
|
| + [out] uint32_t mojo_handle,
|
| + [in] PP_CompletionCallback callback);
|
| +
|
| +};
|
| +
|
|
|