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

Side by Side Diff: ppapi/c/ppp_messaging.h

Issue 9421037: Added @code/@endcode and removed .html (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/c/ppb_messaging.h ('k') | ppapi/cpp/audio_config.h » ('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 /* From ppp_messaging.idl modified Wed Oct 5 14:06:02 2011. */ 6 /* From ppp_messaging.idl modified Wed Jan 25 11:41:09 2012. */
7 7
8 #ifndef PPAPI_C_PPP_MESSAGING_H_ 8 #ifndef PPAPI_C_PPP_MESSAGING_H_
9 #define PPAPI_C_PPP_MESSAGING_H_ 9 #define PPAPI_C_PPP_MESSAGING_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_instance.h" 12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_macros.h" 13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_stdint.h" 14 #include "ppapi/c/pp_stdint.h"
15 #include "ppapi/c/pp_var.h" 15 #include "ppapi/c/pp_var.h"
16 16
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 * @param[in] message A <code>PP_Var</code> containing the data to be sent 48 * @param[in] message A <code>PP_Var</code> containing the data to be sent
49 * to JavaScript. Message can have an int32_t, double, bool, or string value 49 * to JavaScript. Message can have an int32_t, double, bool, or string value
50 * (objects are not supported). 50 * (objects are not supported).
51 * 51 *
52 * The following JavaScript code invokes <code>HandleMessage</code>, passing 52 * The following JavaScript code invokes <code>HandleMessage</code>, passing
53 * the module instance on which it was invoked, with <code>message</code> 53 * the module instance on which it was invoked, with <code>message</code>
54 * being a string <code>PP_Var</code> containing "Hello world!" 54 * being a string <code>PP_Var</code> containing "Hello world!"
55 * 55 *
56 * <strong>Example:</strong> 56 * <strong>Example:</strong>
57 * 57 *
58 * <code> 58 * @code
59 * 59 *
60 * <body> 60 * <body>
61 * <object id="plugin" 61 * <object id="plugin"
62 * type="application/x-ppapi-postMessage-example"/> 62 * type="application/x-ppapi-postMessage-example"/>
63 * <script type="text/javascript"> 63 * <script type="text/javascript">
64 * document.getElementById('plugin').postMessage("Hello world!"); 64 * document.getElementById('plugin').postMessage("Hello world!");
65 * </script> 65 * </script>
66 * </body> 66 * </body>
67 * 67 *
68 * </code> 68 * @endcode
69 * 69 *
70 */ 70 */
71 void (*HandleMessage)(PP_Instance instance, struct PP_Var message); 71 void (*HandleMessage)(PP_Instance instance, struct PP_Var message);
72 }; 72 };
73 73
74 typedef struct PPP_Messaging_1_0 PPP_Messaging; 74 typedef struct PPP_Messaging_1_0 PPP_Messaging;
75 /** 75 /**
76 * @} 76 * @}
77 */ 77 */
78 78
79 #endif /* PPAPI_C_PPP_MESSAGING_H_ */ 79 #endif /* PPAPI_C_PPP_MESSAGING_H_ */
80 80
OLDNEW
« no previous file with comments | « ppapi/c/ppb_messaging.h ('k') | ppapi/cpp/audio_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698