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

Unified Diff: ppapi/api/dev/pp_cursor_type_dev.idl

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: clean up a bit more 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
« no previous file with comments | « no previous file | ppapi/api/dev/ppb_cursor_control_dev.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ */
« no previous file with comments | « no previous file | ppapi/api/dev/ppb_cursor_control_dev.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698