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

Unified Diff: ppapi/cpp/private/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/cpp/private/find_private.h
diff --git a/ppapi/cpp/private/find_private.h b/ppapi/cpp/private/find_private.h
index 5a9cbf5871c42872df25bb133a4810bf05b29625..9afe9b34ae00dd949df473f822d5d9f820120b5e 100644
--- a/ppapi/cpp/private/find_private.h
+++ b/ppapi/cpp/private/find_private.h
@@ -6,6 +6,7 @@
#define PPAPI_CPP_PRIVATE_FIND_PRIVATE_H_
#include <string>
+#include <vector>
#include "ppapi/c/private/ppp_find_private.h"
#include "ppapi/cpp/instance_handle.h"
@@ -13,6 +14,7 @@
namespace pp {
class Instance;
+class Rect;
// This class allows you to associate the PPP_Find and PPB_Find C-based
// interfaces with an object. It associates itself with the given instance, and
@@ -53,6 +55,7 @@ class Find_Private {
void SetPluginToHandleFindRequests();
void NumberOfFindResultsChanged(int32_t total, bool final_result);
void SelectedFindResultChanged(int32_t index);
+ void SetTickmarks(std::vector<pp::Rect> tickmarks);
yzshen1 2014/03/19 17:38:05 const &?
raymes 2014/03/20 01:53:56 Done.
private:
InstanceHandle associated_instance_;

Powered by Google App Engine
This is Rietveld 408576698