OLD | NEW |
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 /* From ppp_input_event.idl modified Wed Jul 20 11:12:41 2011. */ | 6 /* From ppp_input_event.idl modified Thu Aug 11 16:06:41 2011. */ |
7 | 7 |
8 #ifndef PPAPI_C_PPP_INPUT_EVENT_H_ | 8 #ifndef PPAPI_C_PPP_INPUT_EVENT_H_ |
9 #define PPAPI_C_PPP_INPUT_EVENT_H_ | 9 #define PPAPI_C_PPP_INPUT_EVENT_H_ |
10 | 10 |
11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
12 #include "ppapi/c/pp_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
13 #include "ppapi/c/pp_macros.h" | 13 #include "ppapi/c/pp_macros.h" |
14 #include "ppapi/c/pp_resource.h" | 14 #include "ppapi/c/pp_resource.h" |
15 #include "ppapi/c/pp_stdint.h" | 15 #include "ppapi/c/pp_stdint.h" |
16 | 16 |
17 /** | 17 /** |
18 * @file | 18 * @file |
19 * This file defines the API for receiving input events form the browser. | 19 * This file defines the API for receiving input events from the browser. |
20 */ | 20 */ |
21 | 21 |
22 | 22 |
23 /** | 23 /** |
24 * @addtogroup Interfaces | 24 * @addtogroup Interfaces |
25 * @{ | 25 * @{ |
26 */ | 26 */ |
27 #define PPP_INPUT_EVENT_INTERFACE_0_1 "PPP_InputEvent;0.1" | 27 #define PPP_INPUT_EVENT_INTERFACE_0_1 "PPP_InputEvent;0.1" |
28 #define PPP_INPUT_EVENT_INTERFACE PPP_INPUT_EVENT_INTERFACE_0_1 | 28 #define PPP_INPUT_EVENT_INTERFACE PPP_INPUT_EVENT_INTERFACE_0_1 |
29 | 29 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 * handling. For non-filtered events, the return value will be ignored. | 73 * handling. For non-filtered events, the return value will be ignored. |
74 */ | 74 */ |
75 PP_Bool (*HandleInputEvent)(PP_Instance instance, PP_Resource input_event); | 75 PP_Bool (*HandleInputEvent)(PP_Instance instance, PP_Resource input_event); |
76 }; | 76 }; |
77 /** | 77 /** |
78 * @} | 78 * @} |
79 */ | 79 */ |
80 | 80 |
81 #endif /* PPAPI_C_PPP_INPUT_EVENT_H_ */ | 81 #endif /* PPAPI_C_PPP_INPUT_EVENT_H_ */ |
82 | 82 |
OLD | NEW |