OLD | NEW |
(Empty) | |
| 1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. |
| 4 */ |
| 5 |
| 6 [generate_thunk] |
| 7 |
| 8 label Chrome { |
| 9 M38 = 0.1 |
| 10 }; |
| 11 |
| 12 /* An interface to expose Mojo services to pepper plugins. */ |
| 13 [singleton] |
| 14 interface PPB_Mojo { |
| 15 /* |
| 16 * Connects to the given service_name, and provides a mojo_handle on success. |
| 17 * |
| 18 * TODO(teravest): It'd be nice to use something more typesafe than int32_t |
| 19 * here. |
| 20 */ |
| 21 int32_t GetHandle([in] PP_Instance instance, |
| 22 [out] uint32_t mojo_handle, |
| 23 [in] PP_CompletionCallback callback); |
| 24 |
| 25 }; |
| 26 |
OLD | NEW |