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

Unified Diff: webkit/plugins/ppapi/ppb_find_impl.h

Issue 7082036: Convert more interfaces to the new thunk system. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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: webkit/plugins/ppapi/ppb_find_impl.h
===================================================================
--- webkit/plugins/ppapi/ppb_find_impl.h (revision 0)
+++ webkit/plugins/ppapi/ppb_find_impl.h (revision 0)
@@ -0,0 +1,46 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEBKIT_PLUGINS_PPAPI_PPB_FIND_IMPL_H_
+#define WEBKIT_PLUGINS_PPAPI_PPB_FIND_IMPL_H_
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "ppapi/shared_impl/function_group_base.h"
+#include "ppapi/thunk/ppb_find_api.h"
+
+namespace webkit {
+namespace ppapi {
+
+class PluginInstance;
+
+// Some of the backend functionality of this class is implemented by the
+// AudioImpl so it can be shared with the proxy.
+class PPB_Find_Impl : public ::ppapi::FunctionGroupBase,
+ public ::ppapi::thunk::PPB_Find_FunctionAPI {
+ public:
+ PPB_Find_Impl(PluginInstance* instance);
+ virtual ~PPB_Find_Impl();
+
+ // FunctionBase overrides.
+ virtual ::ppapi::thunk::PPB_Find_FunctionAPI* AsPPB_Find_FunctionAPI()
+ OVERRIDE;
+
+ // PPB_Find_API implementation.
+ virtual void NumberOfFindResultsChanged(PP_Instance instance,
+ int32_t total,
+ PP_Bool final_result) OVERRIDE;
+ virtual void SelectedFindResultChanged(PP_Instance instance,
+ int32_t index) OVERRIDE;
+
+ private:
+ PluginInstance* instance_;
+
+ DISALLOW_COPY_AND_ASSIGN(PPB_Find_Impl);
+};
+
+} // namespace ppapi
+} // namespace webkit
+
+#endif // WEBKIT_PLUGINS_PPAPI_PPB_FIND_IMPL_H_
Property changes on: webkit/plugins/ppapi/ppb_find_impl.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698