summaryrefslogtreecommitdiffstats
path: root/ppapi/api/pp_completion_callback.idl
diff options
context:
space:
mode:
authorbinji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-09 18:40:17 +0000
committerbinji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-09 18:40:17 +0000
commitfebbb9cf554e724bef222f1306902b78a6ec1f16 (patch)
tree906c50cfe65bb74e3a04858acb86da3c0c04b41d /ppapi/api/pp_completion_callback.idl
parent56fa0311640a37251637f115a0f58f99c1d97ff9 (diff)
downloadchromium_src-febbb9cf554e724bef222f1306902b78a6ec1f16.zip
chromium_src-febbb9cf554e724bef222f1306902b78a6ec1f16.tar.gz
chromium_src-febbb9cf554e724bef222f1306902b78a6ec1f16.tar.bz2
[PPAPI] Documentation fixes.
* I added a closing </code> tag in r191189, but it seems to be more consistent to forgo <code> tags for enums, so I've removed it. * I've also added @code/@endcode around a snippet of code that was flattened otherwise. BUG=none R=dmichael@chromium.org Review URL: https://codereview.chromium.org/13238002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api/pp_completion_callback.idl')
-rw-r--r--ppapi/api/pp_completion_callback.idl16
1 files changed, 8 insertions, 8 deletions
diff --git a/ppapi/api/pp_completion_callback.idl b/ppapi/api/pp_completion_callback.idl
index 871a135..46b6342 100644
--- a/ppapi/api/pp_completion_callback.idl
+++ b/ppapi/api/pp_completion_callback.idl
@@ -66,10 +66,10 @@ enum PP_CompletionCallback_Flag {
* ways:
* - Required: The callback will always be invoked asynchronously on the
* thread where the associated PPB method was invoked. The method
- * will always return <code>PP_OK_COMPLETIONPENDING</code> when a
- * required callback, and the callback will be invoked later
- * (barring system or thread shutdown; see PPB_MessageLoop for
- * details). Required callbacks are the default.
+ * will always return PP_OK_COMPLETIONPENDING when a required
+ * callback, and the callback will be invoked later (barring
+ * system or thread shutdown; see PPB_MessageLoop for details).
+ * Required callbacks are the default.
*
* NOTE: If you use a required callback on a background thread,
* you must have created and attached a PPB_MessageLoop.
@@ -141,16 +141,16 @@ enum PP_CompletionCallback_Flag {
*
* <strong>Example, creating a Required callback:</strong>
*
- * <code>
+ * @code
* struct PP_CompletionCallback cc = PP_MakeCompletionCallback(Foo, NULL);
- * </code>
+ * @endcode
*
* <strong>Example, creating an Optional callback:</strong>
*
- * <code>
+ * @code
* struct PP_CompletionCallback cc = PP_MakeCompletionCallback(Foo, NULL);
* cc.flags = cc.flags | PP_COMPLETIONCALLBACK_FLAG_OPTIONAL;
- * </code>
+ * @endcode
*
* @param[in] func A <code>PP_CompletionCallback_Func</code> that will be
* called.