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

Unified Diff: ppapi/c/dev/pp_cursor_type_dev.h

Issue 8586031: Convert a few ppapi dev interfaces to IDL. NaCl has tests for these (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add ppb_testing_dev (used by graphics2d test, etc.) Created 9 years, 1 month 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/dev/pp_cursor_type_dev.h
diff --git a/ppapi/c/dev/pp_cursor_type_dev.h b/ppapi/c/dev/pp_cursor_type_dev.h
index 191df9f67a782be4f41effe34ebc5b7a6920cbdb..89201ec218325f2d50d634262b9c822cc4dab632 100644
--- a/ppapi/c/dev/pp_cursor_type_dev.h
+++ b/ppapi/c/dev/pp_cursor_type_dev.h
@@ -2,12 +2,25 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-#ifndef PPAPI_C_DEV_PP_CURSORTYPE_DEV_H_
-#define PPAPI_C_DEV_PP_CURSORTYPE_DEV_H_
+
+/* From dev/pp_cursor_type_dev.idl modified Thu Nov 17 10:06:50 2011. */
+
+#ifndef PPAPI_C_DEV_PP_CURSOR_TYPE_DEV_H_
+#define PPAPI_C_DEV_PP_CURSOR_TYPE_DEV_H_
#include "ppapi/c/pp_macros.h"
-enum PP_CursorType_Dev {
+/**
+ * @file
+ * This file defines enumerations for cursor types.
+ */
+
+
+/**
+ * @addtogroup Enums
+ * @{
+ */
+typedef enum {
PP_CURSORTYPE_CUSTOM = -1,
PP_CURSORTYPE_POINTER = 0,
PP_CURSORTYPE_CROSS = 1,
@@ -52,8 +65,11 @@ enum PP_CursorType_Dev {
PP_CURSORTYPE_ZOOMOUT = 40,
PP_CURSORTYPE_GRAB = 41,
PP_CURSORTYPE_GRABBING = 42
-};
-PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(PP_CursorType_Dev, 4);
+} PP_CursorType_Dev;
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CursorType_Dev, 4);
+/**
+ * @}
+ */
-#endif /* PPAPI_C_DEV_PP_CURSORTYPE_DEV_H_ */
+#endif /* PPAPI_C_DEV_PP_CURSOR_TYPE_DEV_H_ */

Powered by Google App Engine
This is Rietveld 408576698