Implement listing tests to a JSON file for iOS gtest test launcher
[chromium-blink-merge.git] / ppapi / c / dev / ppp_scrollbar_dev.h
blob0a3221073b2b77c230bddd1999afc1b4402e1127
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 */
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
21 /**
22 * @file
23 * This file defines the <code>PPP_Scrollbar_Dev</code> interface.
27 /**
28 * @addtogroup Interfaces
29 * @{
31 struct PPP_Scrollbar_Dev_0_3 {
32 /**
33 * Informs the instance that the scrollbar's value has changed.
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.
42 void (*OverlayChanged)(PP_Instance instance,
43 PP_Resource scrollbar,
44 PP_Bool overlay);
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,
52 uint32_t value);
54 /**
55 * @}
58 #endif /* PPAPI_C_DEV_PPP_SCROLLBAR_DEV_H_ */