Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: ppapi/c/private/ppb_find_private.h

Issue 195893044: Add a PPB_Find_Private function to set the tickmarks on the page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/c/private/ppb_find_private.h
diff --git a/ppapi/c/private/ppb_find_private.h b/ppapi/c/private/ppb_find_private.h
index e94c1212255a4b88d1a09dce97c0dd158a9c42b6..dfb3eff0df35ec36693a72722fac268ab3a3e348 100644
--- a/ppapi/c/private/ppb_find_private.h
+++ b/ppapi/c/private/ppb_find_private.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From private/ppb_find_private.idl modified Thu Mar 13 11:56:31 2014. */
+/* From private/ppb_find_private.idl modified Wed Mar 19 13:42:13 2014. */
#ifndef PPAPI_C_PRIVATE_PPB_FIND_PRIVATE_H_
#define PPAPI_C_PRIVATE_PPB_FIND_PRIVATE_H_
@@ -11,6 +11,9 @@
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_macros.h"
+#include "ppapi/c/pp_point.h"
+#include "ppapi/c/pp_rect.h"
+#include "ppapi/c/pp_size.h"
#include "ppapi/c/pp_stdint.h"
#define PPB_FIND_PRIVATE_INTERFACE_0_3 "PPB_Find_Private;0.3"
@@ -60,6 +63,13 @@ struct PPB_Find_Private_0_3 {
* Updates the index of the currently selected search item.
*/
void (*SelectedFindResultChanged)(PP_Instance instance, int32_t index);
+ /**
+ * Updates the tickmarks on the scrollbar for the find request. |tickmarks|
+ * contains |count| PP_Rects indicating the tickmark ranges.
+ */
+ void (*SetTickmarks)(PP_Instance instance,
+ const struct PP_Rect tickmarks[],
+ uint32_t count);
};
typedef struct PPB_Find_Private_0_3 PPB_Find_Private;

Powered by Google App Engine
This is Rietveld 408576698