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

Unified Diff: ppapi/c/ppb_var.h

Issue 6297018: Removed Doxygen groupings by ppb_, pp_, and ppp_. Added grouping by construct... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
Index: ppapi/c/ppb_var.h
===================================================================
--- ppapi/c/ppb_var.h (revision 72639)
+++ ppapi/c/ppb_var.h (working copy)
@@ -16,16 +16,18 @@
#define PPB_VAR_INTERFACE "PPB_Var;0.4"
/**
+ *
+ * @addtogroup Enums
+ * @{
+ */
+
+/**
* @file
* Defines the PPB_Var struct.
* See http://code.google.com/p/ppapi/wiki/InterfacingWithJavaScript
* for general information on using this interface.
* {PENDING: Should the generated doc really be pointing to methods?}
- *
- * @addtogroup PPB
- * @{
*/
-
enum PP_ObjectProperty_Modifier {
PP_OBJECTPROPERTY_MODIFIER_NONE = 0,
PP_OBJECTPROPERTY_MODIFIER_READONLY = 1 << 0,
@@ -33,8 +35,16 @@
PP_OBJECTPROPERTY_MODIFIER_DONTDELETE = 1 << 2,
PP_OBJECTPROPERTY_MODIFIER_HASVALUE = 1 << 3
};
+/**
+ * @}
+ */
+
PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(PP_ObjectProperty_Modifier, 4);
+/**
+ * @addtogroup Structs
+ * @{
+ */
struct PP_ObjectProperty {
struct PP_Var name;
struct PP_Var value;
@@ -50,9 +60,18 @@
*/
int32_t padding;
};
+/**
+ * @}
+ */
+
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_ObjectProperty, 72);
/**
+ * @addtogroup Interfaces
+ * @{
+ */
+
+/**
* PPB_Var API
*
* JavaScript specification:
@@ -81,6 +100,7 @@
* type.
* TODO(neb): Specify the exception for ill-formed PP_Vars, invalid module,
* instance, resource, string and object ids.
+ *
*/
struct PPB_Var {
/**
@@ -290,7 +310,14 @@
struct PP_Var* argv,
struct PP_Var* exception);
};
+/**
+ * @}
+ */
+/**
+ * @addtogroup Functions
+ * @{
+ */
PP_INLINE struct PP_ObjectProperty PP_MakeSimpleProperty(struct PP_Var name,
struct PP_Var value) {
struct PP_ObjectProperty result;
@@ -301,10 +328,9 @@
result.modifiers = PP_OBJECTPROPERTY_MODIFIER_HASVALUE;
return result;
}
-
/**
* @}
- * End addtogroup PPB
*/
+
#endif /* PPAPI_C_PPB_VAR_H_ */
« ppapi/c/ppb_core.h ('K') | « ppapi/c/ppb_url_response_info.h ('k') | ppapi/c/ppp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698