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

Side by Side Diff: ppapi/api/ppb_messaging.idl

Issue 11886024: IDL: Autogenerate thunk .cc file for PPB_Messaging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | ppapi/thunk/ppb_messaging_thunk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 [generate_thunk]
13
12 label Chrome { 14 label Chrome {
13 M14 = 1.0 15 M14 = 1.0
14 }; 16 };
15 17
16 /** 18 /**
17 * The <code>PPB_Messaging</code> interface is implemented by the browser 19 * The <code>PPB_Messaging</code> interface is implemented by the browser
18 * and is related to sending messages to JavaScript message event listeners on 20 * and is related to sending messages to JavaScript message event listeners on
19 * the DOM element associated with specific module instance. 21 * the DOM element associated with specific module instance.
20 */ 22 */
21 interface PPB_Messaging { 23 interface PPB_Messaging {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 * ppb_messaging_interface->PostMessage(instance, hello_var); // Copies var. 72 * ppb_messaging_interface->PostMessage(instance, hello_var); // Copies var.
71 * ppb_var_interface->Release(hello_var); 73 * ppb_var_interface->Release(hello_var);
72 * 74 *
73 * @endcode 75 * @endcode
74 * 76 *
75 * The browser will pop-up an alert saying "Hello world!" 77 * The browser will pop-up an alert saying "Hello world!"
76 */ 78 */
77 void PostMessage([in] PP_Instance instance, [in] PP_Var message); 79 void PostMessage([in] PP_Instance instance, [in] PP_Var message);
78 }; 80 };
79 81
OLDNEW
« no previous file with comments | « no previous file | ppapi/thunk/ppb_messaging_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698