OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 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 #ifndef PPAPI_C_DEV_PPB_WIDGET_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPB_WIDGET_DEV_H_ |
6 #define PPAPI_C_DEV_PPB_WIDGET_DEV_H_ | 6 #define PPAPI_C_DEV_PPB_WIDGET_DEV_H_ |
7 | 7 |
8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/pp_resource.h" | 9 #include "ppapi/c/pp_resource.h" |
10 | 10 |
11 struct PP_Rect; | 11 struct PP_Rect; |
12 struct PP_InputEvent; | 12 struct PP_InputEvent; |
13 | 13 |
14 #define PPB_WIDGET_DEV_INTERFACE "PPB_Widget(Dev);0.2" | 14 #define PPB_WIDGET_DEV_INTERFACE "PPB_Widget(Dev);0.2" |
(...skipping 16 matching lines...) Expand all Loading... |
31 const struct PP_InputEvent* event); | 31 const struct PP_InputEvent* event); |
32 | 32 |
33 // Get/set the location of the widget. | 33 // Get/set the location of the widget. |
34 PP_Bool (*GetLocation)(PP_Resource widget, | 34 PP_Bool (*GetLocation)(PP_Resource widget, |
35 struct PP_Rect* location); | 35 struct PP_Rect* location); |
36 | 36 |
37 void (*SetLocation)(PP_Resource widget, | 37 void (*SetLocation)(PP_Resource widget, |
38 const struct PP_Rect* location); | 38 const struct PP_Rect* location); |
39 }; | 39 }; |
40 | 40 |
41 #endif // PPAPI_C_DEV_PPB_WIDGET_DEV_H_ | 41 #endif /* PPAPI_C_DEV_PPB_WIDGET_DEV_H_ */ |
| 42 |
OLD | NEW |