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

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

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, 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
« no previous file with comments | « webkit/plugins/ppapi/ppb_find_impl.h ('k') | webkit/plugins/ppapi/ppb_font_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_find_impl.cc
===================================================================
--- webkit/plugins/ppapi/ppb_find_impl.cc (revision 87436)
+++ webkit/plugins/ppapi/ppb_find_impl.cc (working copy)
@@ -1,41 +0,0 @@
-// 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.
-
-#include "webkit/plugins/ppapi/ppb_find_impl.h"
-
-#include "webkit/plugins/ppapi/plugin_delegate.h"
-#include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
-
-using ::ppapi::thunk::PPB_Find_FunctionAPI;
-
-namespace webkit {
-namespace ppapi {
-
-PPB_Find_Impl::PPB_Find_Impl(PluginInstance* instance) : instance_(instance) {
-}
-
-PPB_Find_Impl::~PPB_Find_Impl() {
-}
-
-PPB_Find_FunctionAPI* PPB_Find_Impl::AsPPB_Find_FunctionAPI() {
- return this;
-}
-
-void PPB_Find_Impl::NumberOfFindResultsChanged(PP_Instance instance,
- int32_t total,
- PP_Bool final_result) {
- DCHECK_NE(instance_->find_identifier(), -1);
- instance_->delegate()->NumberOfFindResultsChanged(
- instance_->find_identifier(), total, PP_ToBool(final_result));
-}
-
-void PPB_Find_Impl::SelectedFindResultChanged(PP_Instance instance,
- int32_t index) {
- DCHECK_NE(instance_->find_identifier(), -1);
- instance_->delegate()->SelectedFindResultChanged(
- instance_->find_identifier(), index);
-}
-
-} // namespace ppapi
-} // namespace webkit
« no previous file with comments | « webkit/plugins/ppapi/ppb_find_impl.h ('k') | webkit/plugins/ppapi/ppb_font_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698