Pepper_31_C_interfaces
ppp_scrollbar_dev.h
Go to the documentation of this file.
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.
4  */
5 
6 /* From dev/ppp_scrollbar_dev.idl modified Tue Nov 27 14:46:25 2012. */
7 
8 #ifndef PPAPI_C_DEV_PPP_SCROLLBAR_DEV_H_
9 #define PPAPI_C_DEV_PPP_SCROLLBAR_DEV_H_
10 
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"
16 
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
20 
21 /**
22  * @file
23  * This file defines the <code>PPP_Scrollbar_Dev</code> interface.
24  */
25 
26 
27 /**
28  * @addtogroup Interfaces
29  * @{
30  */
32  /**
33  * Informs the instance that the scrollbar's value has changed.
34  */
35  void (*ValueChanged)(PP_Instance instance,
36  PP_Resource scrollbar,
37  uint32_t value);
38  /**
39  * Informs the instance that the user has changed the system
40  * scrollbar style.
41  */
42  void (*OverlayChanged)(PP_Instance instance,
43  PP_Resource scrollbar,
44  PP_Bool overlay);
45 };
46 
48 
50  void (*ValueChanged)(PP_Instance instance,
51  PP_Resource scrollbar,
52  uint32_t value);
53 };
54 /**
55  * @}
56  */
57 
58 #endif /* PPAPI_C_DEV_PPP_SCROLLBAR_DEV_H_ */
59 
void(* ValueChanged)(PP_Instance instance, PP_Resource scrollbar, uint32_t value)
void(* ValueChanged)(PP_Instance instance, PP_Resource scrollbar, uint32_t value)
int32_t PP_Resource
Definition: pp_resource.h:40
void(* OverlayChanged)(PP_Instance instance, PP_Resource scrollbar, PP_Bool overlay)
int32_t PP_Instance
Definition: pp_instance.h:34
PP_Bool
Definition: pp_bool.h:30