1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ppapi/c/ppb_mouse_cursor.h"
6 #include "ppapi/thunk/thunk.h"
7 #include "ppapi/thunk/enter.h"
8 #include "ppapi/thunk/ppb_instance_api.h"
15 PP_Bool
SetCursor(PP_Instance instance
,
16 PP_MouseCursor_Type type
,
18 const PP_Point
* hot_spot
) {
19 EnterInstance
enter(instance
);
22 return enter
.functions()->SetCursor(instance
, type
, image
, hot_spot
);
25 const PPB_MouseCursor_1_0 g_ppb_mouse_cursor_thunk
= {
31 const PPB_MouseCursor_1_0
* GetPPB_MouseCursor_1_0_Thunk() {
32 return &g_ppb_mouse_cursor_thunk
;