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

Unified Diff: ppapi/thunk/ppb_find_private_thunk.cc

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/proxy/ppb_instance_proxy.cc ('k') | ppapi/thunk/ppb_instance_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_find_private_thunk.cc
diff --git a/ppapi/thunk/ppb_find_private_thunk.cc b/ppapi/thunk/ppb_find_private_thunk.cc
index f530b62c6d93acea0c199ef139fbc699a061213e..ffa50afbe4748793270d7732aad16f6724970c92 100644
--- a/ppapi/thunk/ppb_find_private_thunk.cc
+++ b/ppapi/thunk/ppb_find_private_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// 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.
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/private/ppb_find_private.h"
@@ -41,10 +41,21 @@ void SelectedFindResultChanged(PP_Instance instance, int32_t index) {
enter.functions()->SelectedFindResultChanged(instance, index);
}
+void SetTickmarks(PP_Instance instance,
+ const struct PP_Rect tickmarks[],
+ uint32_t count) {
+ VLOG(4) << "PPB_Find_Private::SetTickmarks()";
+ EnterInstance enter(instance);
+ if (enter.failed())
+ return;
+ enter.functions()->SetTickmarks(instance, tickmarks, count);
+}
+
const PPB_Find_Private_0_3 g_ppb_find_private_thunk_0_3 = {
&SetPluginToHandleFindRequests,
&NumberOfFindResultsChanged,
- &SelectedFindResultChanged
+ &SelectedFindResultChanged,
+ &SetTickmarks
};
} // namespace
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.cc ('k') | ppapi/thunk/ppb_instance_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698