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

Unified Diff: ppapi/c/ppp_messaging.h

Issue 7282015: Misc. changes. Mostly formatting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
« ppapi/c/ppb_graphics_2d.h ('K') | « ppapi/c/ppp.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppp_messaging.h
===================================================================
--- ppapi/c/ppp_messaging.h (revision 91508)
+++ ppapi/c/ppp_messaging.h (working copy)
@@ -24,27 +24,29 @@
*/
/**
- * The PPP_Messaging interface contains pointers to functions that you must
- * implement to handle postMessage events on the associated DOM element.
+ * The <code>PPP_Messaging</code> interface contains pointers to functions
+ * that you must implement to handle postMessage events on the associated
+ * DOM element.
*/
struct PPP_Messaging {
/**
- * HandleMessage is a pointer to a function that the browser calls when
- * PostMessage() is invoked on the DOM element for the module instance in
- * JavaScript. Note that PostMessage() in the JavaScript interface is
- * asynchronous, meaning JavaScript execution will not be blocked while
- * HandleMessage() is processing the message.
+ * HandleMessage() is a function that the browser calls when PostMessage()
+ * is invoked on the DOM element for the module instance in JavaScript. Note
+ * that PostMessage() in the JavaScript interface is asynchronous, meaning
+ * JavaScript execution will not be blocked while HandleMessage() is
+ * processing the message.
*
- * @param[in] instance A PP_Instance indentifying one instance of a module.
- * @param[in] message A PP_Var containing the data to be sent to JavaScript.
- * Message can have an int32_t, double, bool, or string value (objects
- * are not supported).
+ * @param[in] instance A <code>PP_Instance</code> indentifying one instance
+ * of a module.
+ * @param[in] message A <code>PP_Var</code> containing the data to be sent
+ * to JavaScript. Message can have an int32_t, double, bool, or string value
+ * (objects are not supported).
*
* <strong>Example:</strong>
*
- * The following JavaScript code invokes HandleMessage, passing the module
- * instance on which it was invoked, with <code>message</code> being a
- * string PP_Var containing "Hello world!"
+ * The following JavaScript code invokes <code>HandleMessage</code>, passing
+ * the module instance on which it was invoked, with <code>message</code>
+ * being a string <code>PP_Var</code> containing "Hello world!"
*
* @code
*
« ppapi/c/ppb_graphics_2d.h ('K') | « ppapi/c/ppp.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698