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 #include "webkit/plugins/ppapi/ppb_find_impl.h" | 5 #include "webkit/plugins/ppapi/ppb_find_impl.h" |
6 | 6 |
7 #include "webkit/plugins/ppapi/plugin_delegate.h" | 7 #include "webkit/plugins/ppapi/plugin_delegate.h" |
8 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 8 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
9 | 9 |
10 using ::ppapi::thunk::PPB_Find_FunctionAPI; | 10 using ::ppapi::thunk::PPB_Find_FunctionAPI; |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 void PPB_Find_Impl::SelectedFindResultChanged(PP_Instance instance, | 33 void PPB_Find_Impl::SelectedFindResultChanged(PP_Instance instance, |
34 int32_t index) { | 34 int32_t index) { |
35 DCHECK_NE(instance_->find_identifier(), -1); | 35 DCHECK_NE(instance_->find_identifier(), -1); |
36 instance_->delegate()->SelectedFindResultChanged( | 36 instance_->delegate()->SelectedFindResultChanged( |
37 instance_->find_identifier(), index); | 37 instance_->find_identifier(), index); |
38 } | 38 } |
39 | 39 |
40 } // namespace ppapi | 40 } // namespace ppapi |
41 } // namespace webkit | 41 } // namespace webkit |
OLD | NEW |