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

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
« no previous file with comments | « ppapi/api/private/ppb_find_private.idl ('k') | ppapi/cpp/private/find_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3aaaabd1b4827e2b6fb599c58cbaa2e87c14c2b8..09ebab00137b480b043f734518ead6e2cb9d6141 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;
« no previous file with comments | « ppapi/api/private/ppb_find_private.idl ('k') | ppapi/cpp/private/find_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698