OLD | NEW |
1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2014 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 private/ppb_find_private.idl modified Thu Mar 13 11:56:31 2014. */ | 6 /* From private/ppb_find_private.idl modified Wed Mar 19 13:42:13 2014. */ |
7 | 7 |
8 #ifndef PPAPI_C_PRIVATE_PPB_FIND_PRIVATE_H_ | 8 #ifndef PPAPI_C_PRIVATE_PPB_FIND_PRIVATE_H_ |
9 #define PPAPI_C_PRIVATE_PPB_FIND_PRIVATE_H_ | 9 #define PPAPI_C_PRIVATE_PPB_FIND_PRIVATE_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_point.h" |
| 15 #include "ppapi/c/pp_rect.h" |
| 16 #include "ppapi/c/pp_size.h" |
14 #include "ppapi/c/pp_stdint.h" | 17 #include "ppapi/c/pp_stdint.h" |
15 | 18 |
16 #define PPB_FIND_PRIVATE_INTERFACE_0_3 "PPB_Find_Private;0.3" | 19 #define PPB_FIND_PRIVATE_INTERFACE_0_3 "PPB_Find_Private;0.3" |
17 #define PPB_FIND_PRIVATE_INTERFACE PPB_FIND_PRIVATE_INTERFACE_0_3 | 20 #define PPB_FIND_PRIVATE_INTERFACE PPB_FIND_PRIVATE_INTERFACE_0_3 |
18 | 21 |
19 /** | 22 /** |
20 * @file | 23 * @file |
21 * This file defines the <code>PPB_Find_Private</code> interface. | 24 * This file defines the <code>PPB_Find_Private</code> interface. |
22 */ | 25 */ |
23 | 26 |
(...skipping 29 matching lines...) Expand all Loading... |
53 * finished searching should it pass in the final count with final_result set | 56 * finished searching should it pass in the final count with final_result set |
54 * to PP_TRUE. | 57 * to PP_TRUE. |
55 */ | 58 */ |
56 void (*NumberOfFindResultsChanged)(PP_Instance instance, | 59 void (*NumberOfFindResultsChanged)(PP_Instance instance, |
57 int32_t total, | 60 int32_t total, |
58 PP_Bool final_result); | 61 PP_Bool final_result); |
59 /** | 62 /** |
60 * Updates the index of the currently selected search item. | 63 * Updates the index of the currently selected search item. |
61 */ | 64 */ |
62 void (*SelectedFindResultChanged)(PP_Instance instance, int32_t index); | 65 void (*SelectedFindResultChanged)(PP_Instance instance, int32_t index); |
| 66 /** |
| 67 * Updates the tickmarks on the scrollbar for the find request. |tickmarks| |
| 68 * contains |count| PP_Rects indicating the tickmark ranges. |
| 69 */ |
| 70 void (*SetTickmarks)(PP_Instance instance, |
| 71 const struct PP_Rect tickmarks[], |
| 72 uint32_t count); |
63 }; | 73 }; |
64 | 74 |
65 typedef struct PPB_Find_Private_0_3 PPB_Find_Private; | 75 typedef struct PPB_Find_Private_0_3 PPB_Find_Private; |
66 /** | 76 /** |
67 * @} | 77 * @} |
68 */ | 78 */ |
69 | 79 |
70 #endif /* PPAPI_C_PRIVATE_PPB_FIND_PRIVATE_H_ */ | 80 #endif /* PPAPI_C_PRIVATE_PPB_FIND_PRIVATE_H_ */ |
71 | 81 |
OLD | NEW |