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.
6 /* From dev/ppp_scrollbar_dev.idl modified Tue Nov 27 14:46:25 2012. */
8 #ifndef PPAPI_C_DEV_PPP_SCROLLBAR_DEV_H_
9 #define PPAPI_C_DEV_PPP_SCROLLBAR_DEV_H_
11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_resource.h"
15 #include "ppapi/c/pp_stdint.h"
17 #define PPP_SCROLLBAR_DEV_INTERFACE_0_2 "PPP_Scrollbar(Dev);0.2"
18 #define PPP_SCROLLBAR_DEV_INTERFACE_0_3 "PPP_Scrollbar(Dev);0.3"
19 #define PPP_SCROLLBAR_DEV_INTERFACE PPP_SCROLLBAR_DEV_INTERFACE_0_3
23 * This file defines the <code>PPP_Scrollbar_Dev</code> interface.
28 * @addtogroup Interfaces
31 struct PPP_Scrollbar_Dev_0_3
{
33 * Informs the instance that the scrollbar's value has changed.
35 void (*ValueChanged
)(PP_Instance instance
,
36 PP_Resource scrollbar
,
39 * Informs the instance that the user has changed the system
42 void (*OverlayChanged
)(PP_Instance instance
,
43 PP_Resource scrollbar
,
47 typedef struct PPP_Scrollbar_Dev_0_3 PPP_Scrollbar_Dev
;
49 struct PPP_Scrollbar_Dev_0_2
{
50 void (*ValueChanged
)(PP_Instance instance
,
51 PP_Resource scrollbar
,
58 #endif /* PPAPI_C_DEV_PPP_SCROLLBAR_DEV_H_ */