OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PPAPI_THUNK_PPB_FIND_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_FIND_API_H_ |
6 #define PPAPI_THUNK_PPB_FIND_API_H_ | 6 #define PPAPI_THUNK_PPB_FIND_API_H_ |
7 | 7 |
8 #include "ppapi/c/dev/ppb_find_dev.h" | 8 #include "ppapi/c/dev/ppb_find_dev.h" |
9 #include "ppapi/proxy/interface_id.h" | 9 #include "ppapi/proxy/interface_id.h" |
10 | 10 |
11 namespace ppapi { | 11 namespace ppapi { |
12 namespace thunk { | 12 namespace thunk { |
13 | 13 |
14 class PPB_Find_FunctionAPI { | 14 class PPB_Find_FunctionAPI { |
15 public: | 15 public: |
16 virtual ~PPB_Find_FunctionAPI() {} | 16 virtual ~PPB_Find_FunctionAPI() {} |
17 | 17 |
18 virtual void NumberOfFindResultsChanged(PP_Instance instance, | 18 virtual void NumberOfFindResultsChanged(PP_Instance instance, |
19 int32_t total, | 19 int32_t total, |
20 PP_Bool final_result) = 0; | 20 PP_Bool final_result) = 0; |
21 virtual void SelectedFindResultChanged(PP_Instance instance, | 21 virtual void SelectedFindResultChanged(PP_Instance instance, |
22 int32_t index) = 0; | 22 int32_t index) = 0; |
23 | 23 |
24 static const ::pp::proxy::InterfaceID interface_id = | 24 static const proxy::InterfaceID interface_id = proxy::INTERFACE_ID_PPB_FIND; |
25 ::pp::proxy::INTERFACE_ID_PPB_FIND; | |
26 }; | 25 }; |
27 | 26 |
28 } // namespace thunk | 27 } // namespace thunk |
29 } // namespace ppapi | 28 } // namespace ppapi |
30 | 29 |
31 #endif // PPAPI_THUNK_PPB_FIND_API_H_ | 30 #endif // PPAPI_THUNK_PPB_FIND_API_H_ |
OLD | NEW |