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

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: 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
« no previous file with comments | « no previous file | ppapi/api/dev/ppb_cursor_control_dev.idl » ('j') | ppapi/api/dev/ppb_cursor_control_dev.idl » ('J')
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 88%
copy from ppapi/c/dev/pp_cursor_type_dev.h
copy to ppapi/api/dev/pp_cursor_type_dev.idl
index 191df9f67a782be4f41effe34ebc5b7a6920cbdb..2d47b2c821beda153e1d45d21138df7fd466aab5 100644
--- a/ppapi/c/dev/pp_cursor_type_dev.h
+++ b/ppapi/api/dev/pp_cursor_type_dev.idl
@@ -2,11 +2,12 @@
* 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.
+ */
+[assert_size(4)]
enum PP_CursorType_Dev {
PP_CURSORTYPE_CUSTOM = -1,
PP_CURSORTYPE_POINTER = 0,
@@ -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') | ppapi/api/dev/ppb_cursor_control_dev.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698