OLD | NEW |
(Empty) | |
| 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 |
| 3 * found in the LICENSE file. |
| 4 */ |
| 5 #ifndef PPAPI_C_DEV_PPB_SCROLLBAR_GROUP_DEV_H_ |
| 6 #define PPAPI_C_DEV_PPB_SCROLLBAR_GROUP_DEV_H_ |
| 7 |
| 8 #include "ppapi/c/pp_instance.h" |
| 9 #include "ppapi/c/pp_resource.h" |
| 10 |
| 11 #define PPB_SCROLLBAR_GROUP_DEV_INTERFACE_0_1 "PPP_Scrollbar_Group(Dev);0.1" |
| 12 #define PPB_SCROLLBAR_GROUP_DEV_INTERFACE PPB_SCROLLBAR_GROUP_DEV_INTERFACE_0_1 |
| 13 |
| 14 // The interface for a scrollbar group. Horizontal and vertical scrollbars for |
| 15 // the same region need to be associated together with one group. This is |
| 16 // necessary for some platforms in which changes to one scrollbar lead to |
| 17 // animation changes for the other. |
| 18 struct PPB_ScrollbarGroup_Dev { |
| 19 // Create a new scrollbar group. Returns 0 if the instance is invalid. |
| 20 PP_Resource (*Create)(PP_Instance instance); |
| 21 }; |
| 22 |
| 23 #endif /* PPAPI_C_DEV_PPB_SCROLLBAR_GROUP_DEV_H_ */ |
OLD | NEW |