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_SCROLLBAR_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPB_SCROLLBAR_DEV_H_ |
6 #define PPAPI_C_DEV_PPB_SCROLLBAR_DEV_H_ | 6 #define PPAPI_C_DEV_PPB_SCROLLBAR_DEV_H_ |
7 | 7 |
8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/c/pp_macros.h" | 10 #include "ppapi/c/pp_macros.h" |
11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
12 #include "ppapi/c/pp_stdint.h" | 12 #include "ppapi/c/pp_stdint.h" |
13 | 13 |
14 struct PP_Rect; | 14 struct PP_Rect; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 uint32_t count); | 55 uint32_t count); |
56 | 56 |
57 // Scroll by "multiplier" pixels/lines/pages units. Positive values are | 57 // Scroll by "multiplier" pixels/lines/pages units. Positive values are |
58 // forward and negative are backward. If "unit" is document then any positive | 58 // forward and negative are backward. If "unit" is document then any positive |
59 // value goes to the end while any negative value goes to the beginning. | 59 // value goes to the end while any negative value goes to the beginning. |
60 void (*ScrollBy)(PP_Resource scrollbar, | 60 void (*ScrollBy)(PP_Resource scrollbar, |
61 PP_ScrollBy_Dev unit, | 61 PP_ScrollBy_Dev unit, |
62 int32_t multiplier); | 62 int32_t multiplier); |
63 }; | 63 }; |
64 | 64 |
65 #endif // PPAPI_C_DEV_PPB_SCROLLBAR_DEV_H_ | 65 #endif /* PPAPI_C_DEV_PPB_SCROLLBAR_DEV_H_ */ |
| 66 |
OLD | NEW |