1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ppapi/c/dev/ppb_find_dev.h"
6 #include "ppapi/thunk/thunk.h"
7 #include "ppapi/thunk/enter.h"
14 void NumberOfFindResultsChanged(PP_Instance instance
,
17 EnterInstance
enter(instance
);
18 if (enter
.succeeded())
19 enter
.functions()->NumberOfFindResultsChanged(instance
, total
, final
);
22 void SelectedFindResultChanged(PP_Instance instance
, int32_t index
) {
23 EnterInstance
enter(instance
);
24 if (enter
.succeeded())
25 enter
.functions()->SelectedFindResultChanged(instance
, index
);
28 const PPB_Find_Dev g_ppb_find_thunk
= {
29 &NumberOfFindResultsChanged
,
30 &SelectedFindResultChanged
35 const PPB_Find_Dev_0_3
* GetPPB_Find_Dev_0_3_Thunk() {
36 return &g_ppb_find_thunk
;