diff options
author | jond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-28 15:38:38 +0000 |
---|---|---|
committer | jond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-28 15:38:38 +0000 |
commit | 040d5e8ab48c9afd2e6b4cf5242ac046246294a9 (patch) | |
tree | 0ea586d994085daa68a9b755f537ebe93f82d808 /ppapi/c/ppb_class.h | |
parent | 37b5646dc039811b09502b501dffd7c8a35202cd (diff) | |
download | chromium_src-040d5e8ab48c9afd2e6b4cf5242ac046246294a9.zip chromium_src-040d5e8ab48c9afd2e6b4cf5242ac046246294a9.tar.gz chromium_src-040d5e8ab48c9afd2e6b4cf5242ac046246294a9.tar.bz2 |
Removed Doxygen groupings by ppb_, pp_, and ppp_. Added grouping by construct (enums, interfaces, and so on).
Review URL: http://codereview.chromium.org/6297018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72960 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/ppb_class.h')
-rw-r--r-- | ppapi/c/ppb_class.h | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/ppapi/c/ppb_class.h b/ppapi/c/ppb_class.h index ce058c5..e2fc940 100644 --- a/ppapi/c/ppb_class.h +++ b/ppapi/c/ppb_class.h @@ -17,7 +17,10 @@ * @file * Defines the PPB_Class struct. * - * @addtogroup PPB + */ + +/** + * @addtogroup Typedefs * @{ */ @@ -29,14 +32,30 @@ * is no other type protection - if your module contains two objects with * different native_ptr information, make sure you can handle the case of * JS calling one object's function with another object set as this. + * */ typedef struct PP_Var (*PP_ClassFunction)(void* native_ptr, struct PP_Var this_object, /*NOLINT*/ struct PP_Var* args, uint32_t argc, struct PP_Var* exception); +/** + * @} + */ +/** + * @addtogroup Typedefs + * @{ + */ typedef void (*PP_ClassDestructor)(void* native_ptr); +/** + * @} + */ + +/** + * @addtogroup Structs + * @{ + */ /** * One property of a class. @@ -50,6 +69,7 @@ typedef void (*PP_ClassDestructor)(void* native_ptr); * Not providing a getter will be equivalent to having a getter which returns * undefined. Not providing a setter will be equivalent to providing a setter * which doesn't do anything. + * */ struct PP_ClassProperty { const char* name; @@ -58,6 +78,14 @@ struct PP_ClassProperty { PP_ClassFunction setter; uint32_t modifiers; }; +/** + * @} + */ + +/** + * @addtogroup Interfaces + * @{ + */ /** Interface for implementing JavaScript-accessible objects. * @@ -116,10 +144,10 @@ struct PPB_Class { void* native_ptr, struct PP_Var* exception); }; - /** * @} - * End addtogroup PPP */ + + #endif /* PPAPI_C_PPP_CLASS_H_ */ |