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

Unified Diff: ppapi/cpp/instance.h

Issue 13238002: [PPAPI] Documentation fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge yet again Created 7 years, 8 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
« no previous file with comments | « ppapi/cpp/input_event.h ('k') | ppapi/cpp/logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/instance.h
diff --git a/ppapi/cpp/instance.h b/ppapi/cpp/instance.h
index c8f8cab2e969a1d78ea5291eca27d7354a3e2aac..48bca905c90c6d1c29660c0fdc273e300a48b4b4 100644
--- a/ppapi/cpp/instance.h
+++ b/ppapi/cpp/instance.h
@@ -250,7 +250,7 @@ class Instance {
/// the instance on which it was invoked, with <code>message</code> being a
/// string <code>Var</code> containing "Hello world!"
///
- /// <code>
+ /// @code{.html}
///
/// <body>
/// <object id="plugin"
@@ -260,7 +260,7 @@ class Instance {
/// </script>
/// </body>
///
- /// </code>
+ /// @endcode
///
/// Refer to PostMessage() for sending messages to JavaScript.
///
@@ -343,12 +343,12 @@ class Instance {
///
/// <strong>Example:</strong>
///
- /// <code>
+ /// @code
/// RequestInputEvents(PP_INPUTEVENT_CLASS_MOUSE);
/// RequestFilteringInputEvents(
/// PP_INPUTEVENT_CLASS_WHEEL | PP_INPUTEVENT_CLASS_KEYBOARD);
///
- /// </code>
+ /// @endcode
///
/// @param event_classes A combination of flags from
/// <code>PP_InputEvent_Class</code> that identifies the classes of events
@@ -381,13 +381,13 @@ class Instance {
///
/// <strong>Example:</strong>
///
- /// <code>
+ /// @code
///
/// RequestInputEvents(PP_INPUTEVENT_CLASS_MOUSE);
/// RequestFilteringInputEvents(
/// PP_INPUTEVENT_CLASS_WHEEL | PP_INPUTEVENT_CLASS_KEYBOARD);
///
- /// </code>
+ /// @endcode
///
/// @param event_classes A combination of flags from
/// <code>PP_InputEvent_Class</code> that identifies the classes of events
@@ -428,7 +428,7 @@ class Instance {
///
/// <strong>Example:</strong>
///
- /// <code>
+ /// @code{.html}
///
/// <body>
/// <object id="plugin"
@@ -441,15 +441,15 @@ class Instance {
/// </script>
/// </body>
///
- /// </code>
+ /// @endcode
///
/// The instance then invokes PostMessage() as follows:
///
- /// <code>
+ /// @code
///
/// PostMessage(pp::Var("Hello world!"));
///
- /// </code>
+ /// @endcode
///
/// The browser will pop-up an alert saying "Hello world!"
///
« no previous file with comments | « ppapi/cpp/input_event.h ('k') | ppapi/cpp/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698