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

Side by Side Diff: webkit/plugins/ppapi/ppb_find_impl.h

Issue 7006022: Revert 87415 - Convert more interfaces to the new thunk system. This goes up to and including (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/plugins/ppapi/ppb_file_system_impl.cc ('k') | webkit/plugins/ppapi/ppb_find_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_FIND_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_FIND_IMPL_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "ppapi/shared_impl/function_group_base.h"
11 #include "ppapi/thunk/ppb_find_api.h"
12
13 namespace webkit {
14 namespace ppapi {
15
16 class PluginInstance;
17
18 // Some of the backend functionality of this class is implemented by the
19 // AudioImpl so it can be shared with the proxy.
20 class PPB_Find_Impl : public ::ppapi::FunctionGroupBase,
21 public ::ppapi::thunk::PPB_Find_FunctionAPI {
22 public:
23 PPB_Find_Impl(PluginInstance* instance);
24 virtual ~PPB_Find_Impl();
25
26 // FunctionBase overrides.
27 virtual ::ppapi::thunk::PPB_Find_FunctionAPI* AsPPB_Find_FunctionAPI()
28 OVERRIDE;
29
30 // PPB_Find_API implementation.
31 virtual void NumberOfFindResultsChanged(PP_Instance instance,
32 int32_t total,
33 PP_Bool final_result) OVERRIDE;
34 virtual void SelectedFindResultChanged(PP_Instance instance,
35 int32_t index) OVERRIDE;
36
37 private:
38 PluginInstance* instance_;
39
40 DISALLOW_COPY_AND_ASSIGN(PPB_Find_Impl);
41 };
42
43 } // namespace ppapi
44 } // namespace webkit
45
46 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FIND_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_file_system_impl.cc ('k') | webkit/plugins/ppapi/ppb_find_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698