| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 | 4 */ |
| 5 #ifndef PPAPI_C_DEV_PPB_CURSOR_CONTROL_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPB_CURSOR_CONTROL_DEV_H_ |
| 6 #define PPAPI_C_DEV_PPB_CURSOR_CONTROL_DEV_H_ | 6 #define PPAPI_C_DEV_PPB_CURSOR_CONTROL_DEV_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
| 9 #include "ppapi/c/dev/pp_cursor_type_dev.h" | 9 #include "ppapi/c/dev/pp_cursor_type_dev.h" |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| 11 #include "ppapi/c/pp_point.h" | 11 #include "ppapi/c/pp_point.h" |
| 12 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
| 13 | 13 |
| 14 #define PPB_CURSOR_CONTROL_DEV_INTERFACE "PPB_CursorControl(Dev);0.3" | 14 #define PPB_CURSOR_CONTROL_DEV_INTERFACE "PPB_CursorControl(Dev);0.3" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 // movement again. | 46 // movement again. |
| 47 PP_Bool (*UnlockCursor)(PP_Instance); | 47 PP_Bool (*UnlockCursor)(PP_Instance); |
| 48 | 48 |
| 49 // Returns PP_TRUE if the cursor is locked, PP_FALSE otherwise. | 49 // Returns PP_TRUE if the cursor is locked, PP_FALSE otherwise. |
| 50 PP_Bool (*HasCursorLock)(PP_Instance); | 50 PP_Bool (*HasCursorLock)(PP_Instance); |
| 51 | 51 |
| 52 // Returns PP_TRUE if the cursor can be locked, PP_FALSE otherwise. | 52 // Returns PP_TRUE if the cursor can be locked, PP_FALSE otherwise. |
| 53 PP_Bool (*CanLockCursor)(PP_Instance); | 53 PP_Bool (*CanLockCursor)(PP_Instance); |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 #endif // PPAPI_C_DEV_PPB_CURSOR_CONTROL_DEV_H_ | 56 #endif /* PPAPI_C_DEV_PPB_CURSOR_CONTROL_DEV_H_ */ |
| 57 |
| OLD | NEW |