5 #ifndef PPAPI_CPP_DEV_CURSOR_CONTROL_DEV_H_
6 #define PPAPI_CPP_DEV_CURSOR_CONTROL_DEV_H_
8 #include "ppapi/c/dev/ppb_cursor_control_dev.h"
25 PP_CursorType_Dev type,
27 const Point& hot_spot);
36 #endif // PPAPI_CPP_DEV_CURSOR_CONTROL_DEV_H_
APIs for controlling the cursor.
A 2 dimensional point with 0,0 being the upper-left starting coordinate.
bool SetCursor(const InstanceHandle &instance, PP_CursorType_Dev type, const ImageData &custom_image, const Point &hot_spot)
bool LockCursor(const InstanceHandle &instance)
bool CanLockCursor(const InstanceHandle &instance)
bool HasCursorLock(const InstanceHandle &instance)
bool UnlockCursor(const InstanceHandle &instance)