Index: ppapi/api/dev/pp_cursor_type_dev.idl |
diff --git a/ppapi/c/dev/pp_cursor_type_dev.h b/ppapi/api/dev/pp_cursor_type_dev.idl |
similarity index 86% |
copy from ppapi/c/dev/pp_cursor_type_dev.h |
copy to ppapi/api/dev/pp_cursor_type_dev.idl |
index 191df9f67a782be4f41effe34ebc5b7a6920cbdb..c89d85922abc612cc30afc3b02304b37eb819d6a 100644 |
--- a/ppapi/c/dev/pp_cursor_type_dev.h |
+++ b/ppapi/api/dev/pp_cursor_type_dev.idl |
@@ -2,12 +2,13 @@ |
* 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_ |
-#include "ppapi/c/pp_macros.h" |
+/** |
+ * This file defines enumerations for cursor types. |
+ */ |
-enum PP_CursorType_Dev { |
+[assert_size(4)] |
+[notypedef] enum PP_CursorType_Dev { |
PP_CURSORTYPE_CUSTOM = -1, |
PP_CURSORTYPE_POINTER = 0, |
PP_CURSORTYPE_CROSS = 1, |
@@ -53,7 +54,4 @@ enum PP_CursorType_Dev { |
PP_CURSORTYPE_GRAB = 41, |
PP_CURSORTYPE_GRABBING = 42 |
}; |
-PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(PP_CursorType_Dev, 4); |
- |
-#endif /* PPAPI_C_DEV_PP_CURSORTYPE_DEV_H_ */ |