| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 /** | 6 /** |
| 7 * This file defines the <code>PPB_Messaging</code> interface implemented | 7 * This file defines the <code>PPB_Messaging</code> interface implemented |
| 8 * by the browser for sending messages to DOM elements associated with a | 8 * by the browser for sending messages to DOM elements associated with a |
| 9 * specific module instance. | 9 * specific module instance. |
| 10 */ | 10 */ |
| 11 | 11 |
| 12 label Chrome { | 12 label Chrome { |
| 13 M14 = 1.0, | 13 M14 = 1.0, |
| 14 [channel=dev] M39 = 1.2 | 14 M39 = 1.2 |
| 15 }; | 15 }; |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * The <code>PPB_Messaging</code> interface is implemented by the browser | 18 * The <code>PPB_Messaging</code> interface is implemented by the browser |
| 19 * and is related to sending messages to JavaScript message event listeners on | 19 * and is related to sending messages to JavaScript message event listeners on |
| 20 * the DOM element associated with specific module instance. | 20 * the DOM element associated with specific module instance. |
| 21 */ | 21 */ |
| 22 interface PPB_Messaging { | 22 interface PPB_Messaging { |
| 23 /** | 23 /** |
| 24 * PostMessage() asynchronously invokes any listeners for message events on | 24 * PostMessage() asynchronously invokes any listeners for message events on |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 * Attempting to unregister a message handler when none is registered has no | 135 * Attempting to unregister a message handler when none is registered has no |
| 136 * effect. | 136 * effect. |
| 137 * | 137 * |
| 138 * @param[in] instance A <code>PP_Instance</code> identifying one instance | 138 * @param[in] instance A <code>PP_Instance</code> identifying one instance |
| 139 * of a module. | 139 * of a module. |
| 140 */ | 140 */ |
| 141 [version=1.2] | 141 [version=1.2] |
| 142 void UnregisterMessageHandler([in] PP_Instance instance); | 142 void UnregisterMessageHandler([in] PP_Instance instance); |
| 143 }; | 143 }; |
| 144 | 144 |
| OLD | NEW |