summaryrefslogtreecommitdiffstats
path: root/ppapi/c/pp_size.h
diff options
context:
space:
mode:
authorjond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-30 22:57:17 +0000
committerjond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-30 22:57:17 +0000
commitc549595105bee15d1f8404c7a2853a5c660ab89f (patch)
tree71eb630796c763b131407840a9c0f79a039640da /ppapi/c/pp_size.h
parent898a81a5bbd74bbe304225c8bd1c93c434377ca7 (diff)
downloadchromium_src-c549595105bee15d1f8404c7a2853a5c660ab89f.zip
chromium_src-c549595105bee15d1f8404c7a2853a5c660ab89f.tar.gz
chromium_src-c549595105bee15d1f8404c7a2853a5c660ab89f.tar.bz2
Mostly minor changes such as adding <code></code> around elements, a little rewriting, and a few new documentation bits to pp_var.h. Mostly trying to ensure consistency across all docs and doing cleanup.
Review URL: http://codereview.chromium.org/7241024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91221 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/pp_size.h')
-rw-r--r--ppapi/c/pp_size.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/ppapi/c/pp_size.h b/ppapi/c/pp_size.h
index 712c204..8c43451 100644
--- a/ppapi/c/pp_size.h
+++ b/ppapi/c/pp_size.h
@@ -7,7 +7,7 @@
/**
* @file
- * This file defines the width and height of a 2 dimensional rectangle.
+ * This file defines the width and height of a 2D rectangle.
*/
#include "ppapi/c/pp_macros.h"
@@ -19,7 +19,7 @@
*/
/**
- * The PP_Size struct contains the size of a 2D rectangle.
+ * The <code>PP_Size</code> struct contains the size of a 2D rectangle.
*/
struct PP_Size {
/** This value represents the width of the rectangle. */
@@ -38,10 +38,13 @@ PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_Size, 8);
*/
/**
- * PP_MakeSize() creates a PP_Size given a width and height as int32_t values.
+ * PP_MakeSize() creates a <code>PP_Size</code> given a width and height as
+ * int32_t values.
+ *
* @param[in] w An int32_t value representing a width.
* @param[in] h An int32_t value representing a height.
- * @return A PP_Size structure.
+ *
+ * @return A <code>PP_Size</code> structure.
*/
PP_INLINE struct PP_Size PP_MakeSize(int32_t w, int32_t h) {
struct PP_Size ret;