diff options
author | jond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-23 22:01:45 +0000 |
---|---|---|
committer | jond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-23 22:01:45 +0000 |
commit | a62be6e248c94a8777ae68b09ae3b2ef9c3780c1 (patch) | |
tree | d641eb4677c5c2a28a9a918d85a81c2209926e24 /ppapi | |
parent | 0a98e4986e08d85cc5341fffb5977f56ab59bb36 (diff) | |
download | chromium_src-a62be6e248c94a8777ae68b09ae3b2ef9c3780c1.zip chromium_src-a62be6e248c94a8777ae68b09ae3b2ef9c3780c1.tar.gz chromium_src-a62be6e248c94a8777ae68b09ae3b2ef9c3780c1.tar.bz2 |
audio.h: Fixed path
core.h: Fixed duplication of @param[in]
rect.h: changed point to origin, changed argument size to s, misspelled retrn (return)
size.h: changed argument point to s
Review URL: http://codereview.chromium.org/7245008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90275 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/cpp/audio.h | 2 | ||||
-rw-r--r-- | ppapi/cpp/core.h | 2 | ||||
-rw-r--r-- | ppapi/cpp/rect.h | 6 | ||||
-rw-r--r-- | ppapi/cpp/size.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/ppapi/cpp/audio.h b/ppapi/cpp/audio.h index 97cf237..6c8ede8 100644 --- a/ppapi/cpp/audio.h +++ b/ppapi/cpp/audio.h @@ -18,7 +18,7 @@ namespace pp { /// An audio resource. Refer to the -/// <a href="chrome/nativeclient/docs/audio.html">Pepper +/// <a href="/chrome/nativeclient/docs/audio.html">Pepper /// Audio API Code Walkthrough</a> for information on using this interface. class Audio : public Resource { public: diff --git a/ppapi/cpp/core.h b/ppapi/cpp/core.h index 6ceebf5..e6a0853 100644 --- a/ppapi/cpp/core.h +++ b/ppapi/cpp/core.h @@ -40,7 +40,7 @@ class Core { /// A function that allocates memory. /// - /// @param[in] @param[in] num_bytes A number of bytes to allocate. + /// @param[in] num_bytes A number of bytes to allocate. /// @return A pointer to the memory if successful, NULL If the /// allocation fails. void* MemAlloc(uint32_t num_bytes) { diff --git a/ppapi/cpp/rect.h b/ppapi/cpp/rect.h index c10af42..399b112 100644 --- a/ppapi/cpp/rect.h +++ b/ppapi/cpp/rect.h @@ -76,7 +76,7 @@ class Rect { /// A constructor accepting a pointer to a Point representing the origin /// of the rectangle and a pointer to a Size representing the height and /// width. - /// @param[in] point A pointer to a Point representing the upper-left + /// @param[in] origin A pointer to a Point representing the upper-left /// starting coordinate. /// @param[in] size A pointer to a Size representing the height and width. Rect(const Point& origin, const Size& size) { @@ -183,7 +183,7 @@ class Rect { } /// Setter function for setting the Size. - /// @param[in] size A pointer to a Size representing the height and width. + /// @param[in] s A pointer to a Size representing the height and width. void set_size(const Size& s) { rect_.size.width = s.width(); rect_.size.height = s.height(); @@ -341,7 +341,7 @@ class Rect { /// (same width or same height) with the given rectangle, and the /// rectangles do not overlap. /// @param[in] rect A pointer to a Rect. - /// @retrn TRUE if this rectangle and supplied rectangle share an edge. + /// @return TRUE if this rectangle and supplied rectangle share an edge. bool SharesEdgeWith(const Rect& rect) const; private: diff --git a/ppapi/cpp/size.h b/ppapi/cpp/size.h index d8a4efc..35bc493 100644 --- a/ppapi/cpp/size.h +++ b/ppapi/cpp/size.h @@ -26,7 +26,7 @@ class Size { /// A constructor accepting a pointer to a PP_Size and converting the /// PP_Size to a Size. This is an implicit conversion constructor. - /// @param[in] point A pointer to a PP_Size. + /// @param[in] s A pointer to a PP_Size. Size(const PP_Size& s) { // Implicit. // Want the >= 0 checking of the setter. set_width(s.width); |