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

Side by Side Diff: webkit/plugins/ppapi/resource_creation_impl.cc

Issue 19744007: Create a public API around webkit::ppapi::PluginInstance and use it in chrome. After this, webkit/p… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/resource_creation_impl.h" 5 #include "webkit/plugins/ppapi/resource_creation_impl.h"
6 6
7 #include "ppapi/c/pp_size.h" 7 #include "ppapi/c/pp_size.h"
8 #include "ppapi/shared_impl/ppb_audio_config_shared.h" 8 #include "ppapi/shared_impl/ppb_audio_config_shared.h"
9 #include "ppapi/shared_impl/ppb_image_data_shared.h" 9 #include "ppapi/shared_impl/ppb_image_data_shared.h"
10 #include "ppapi/shared_impl/ppb_input_event_shared.h" 10 #include "ppapi/shared_impl/ppb_input_event_shared.h"
(...skipping 16 matching lines...) Expand all
27 #include "webkit/plugins/ppapi/resource_helper.h" 27 #include "webkit/plugins/ppapi/resource_helper.h"
28 28
29 using ppapi::InputEventData; 29 using ppapi::InputEventData;
30 using ppapi::PPB_InputEvent_Shared; 30 using ppapi::PPB_InputEvent_Shared;
31 using ppapi::PPB_ResourceArray_Shared; 31 using ppapi::PPB_ResourceArray_Shared;
32 using ppapi::StringVar; 32 using ppapi::StringVar;
33 33
34 namespace webkit { 34 namespace webkit {
35 namespace ppapi { 35 namespace ppapi {
36 36
37 ResourceCreationImpl::ResourceCreationImpl(PluginInstance* instance) { 37 ResourceCreationImpl::ResourceCreationImpl(PluginInstanceImpl* instance) {
38 } 38 }
39 39
40 ResourceCreationImpl::~ResourceCreationImpl() { 40 ResourceCreationImpl::~ResourceCreationImpl() {
41 } 41 }
42 42
43 PP_Resource ResourceCreationImpl::CreateAudio( 43 PP_Resource ResourceCreationImpl::CreateAudio(
44 PP_Instance instance, 44 PP_Instance instance,
45 PP_Resource config_id, 45 PP_Resource config_id,
46 PPB_Audio_Callback audio_callback, 46 PPB_Audio_Callback audio_callback,
47 void* user_data) { 47 void* user_data) {
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 wheel_delta, wheel_ticks, scroll_by_page); 308 wheel_delta, wheel_ticks, scroll_by_page);
309 } 309 }
310 310
311 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 311 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
312 PP_Instance instance) { 312 PP_Instance instance) {
313 return PPB_X509Certificate_Private_Impl::CreateResource(instance); 313 return PPB_X509Certificate_Private_Impl::CreateResource(instance);
314 } 314 }
315 315
316 } // namespace ppapi 316 } // namespace ppapi
317 } // namespace webkit 317 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698