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

Unified Diff: ppapi/c/dev/ppp_find_dev.h

Issue 4310002: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on W... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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/c/dev/ppp_class_deprecated.h ('k') | ppapi/c/dev/ppp_printing_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppp_find_dev.h
===================================================================
--- ppapi/c/dev/ppp_find_dev.h (revision 65116)
+++ ppapi/c/dev/ppp_find_dev.h (working copy)
@@ -5,9 +5,10 @@
#ifndef PPAPI_C_DEV_PPP_FIND_DEV_H_
#define PPAPI_C_DEV_PPP_FIND_DEV_H_
+#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
-#define PPP_FIND_DEV_INTERFACE "PPP_Find(Dev);0.1"
+#define PPP_FIND_DEV_INTERFACE "PPP_Find(Dev);0.2"
struct PPP_Find_Dev {
// Finds the given UTF-8 text starting at the current selection. The number of
@@ -15,15 +16,15 @@
// PPB_Find. Note that multiple StartFind calls can happen before StopFind is
// called in the case of the search term changing.
//
- // Return false if plugin doesn't support find in page. Consequently, it won't
- // call any callbacks.
- bool (*StartFind)(PP_Instance instance,
- const char* text,
- bool case_sensitive);
+ // Return PP_FALSE if the plugin doesn't support find in page. Consequently,
+ // it won't call any callbacks.
+ PP_Bool (*StartFind)(PP_Instance instance,
+ const char* text,
+ PP_Bool case_sensitive);
// Go to the next/previous result.
void (*SelectFindResult)(PP_Instance instance,
- bool forward);
+ PP_Bool forward);
// Tells the plugin that the find operation has stopped, so it should clear
// any highlighting.
« no previous file with comments | « ppapi/c/dev/ppp_class_deprecated.h ('k') | ppapi/c/dev/ppp_printing_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698