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

Side by Side Diff: ppapi/proxy/ppb_testing_proxy.cc

Issue 8790004: Rename the shared impl files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years 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 | « ppapi/proxy/ppb_instance_proxy.cc ('k') | ppapi/proxy/ppb_video_decoder_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "ppapi/proxy/ppb_testing_proxy.h" 5 #include "ppapi/proxy/ppb_testing_proxy.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "ppapi/c/dev/ppb_testing_dev.h" 8 #include "ppapi/c/dev/ppb_testing_dev.h"
9 #include "ppapi/proxy/enter_proxy.h" 9 #include "ppapi/proxy/enter_proxy.h"
10 #include "ppapi/proxy/plugin_dispatcher.h" 10 #include "ppapi/proxy/plugin_dispatcher.h"
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 } 158 }
159 159
160 void PPB_Testing_Proxy::OnMsgGetLiveObjectsForInstance(PP_Instance instance, 160 void PPB_Testing_Proxy::OnMsgGetLiveObjectsForInstance(PP_Instance instance,
161 uint32_t* result) { 161 uint32_t* result) {
162 *result = ppb_testing_impl_->GetLiveObjectsForInstance(instance); 162 *result = ppb_testing_impl_->GetLiveObjectsForInstance(instance);
163 } 163 }
164 164
165 void PPB_Testing_Proxy::OnMsgSimulateInputEvent( 165 void PPB_Testing_Proxy::OnMsgSimulateInputEvent(
166 PP_Instance instance, 166 PP_Instance instance,
167 const InputEventData& input_event) { 167 const InputEventData& input_event) {
168 scoped_refptr<InputEventImpl> input_event_impl( 168 scoped_refptr<PPB_InputEvent_Shared> input_event_impl(
169 new InputEventImpl(InputEventImpl::InitAsProxy(), 169 new PPB_InputEvent_Shared(PPB_InputEvent_Shared::InitAsProxy(),
170 instance, 170 instance,
171 input_event)); 171 input_event));
172 ppb_testing_impl_->SimulateInputEvent(instance, 172 ppb_testing_impl_->SimulateInputEvent(instance,
173 input_event_impl->pp_resource()); 173 input_event_impl->pp_resource());
174 } 174 }
175 175
176 } // namespace proxy 176 } // namespace proxy
177 } // namespace ppapi 177 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.cc ('k') | ppapi/proxy/ppb_video_decoder_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698