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/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 "webkit/plugins/ppapi/common.h" | 8 #include "webkit/plugins/ppapi/common.h" |
9 #include "webkit/plugins/ppapi/ppb_audio_impl.h" | 9 #include "webkit/plugins/ppapi/ppb_audio_impl.h" |
10 #include "webkit/plugins/ppapi/ppb_broker_impl.h" | 10 #include "webkit/plugins/ppapi/ppb_broker_impl.h" |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 return ReturnResource(new PPB_FileIO_Impl(instance_)); | 132 return ReturnResource(new PPB_FileIO_Impl(instance_)); |
133 } | 133 } |
134 | 134 |
135 PP_Resource ResourceCreationImpl::CreateFileRef(PP_Resource file_system, | 135 PP_Resource ResourceCreationImpl::CreateFileRef(PP_Resource file_system, |
136 const char* path) { | 136 const char* path) { |
137 return PPB_FileRef_Impl::Create(file_system, path); | 137 return PPB_FileRef_Impl::Create(file_system, path); |
138 } | 138 } |
139 | 139 |
140 PP_Resource ResourceCreationImpl::CreateFileSystem( | 140 PP_Resource ResourceCreationImpl::CreateFileSystem( |
141 PP_Instance instance, | 141 PP_Instance instance, |
142 PP_FileSystemType_Dev type) { | 142 PP_FileSystemType type) { |
143 return PPB_FileSystem_Impl::Create(instance_, type); | 143 return PPB_FileSystem_Impl::Create(instance_, type); |
144 } | 144 } |
145 | 145 |
146 PP_Resource ResourceCreationImpl::CreateFlashMenu( | 146 PP_Resource ResourceCreationImpl::CreateFlashMenu( |
147 PP_Instance instance, | 147 PP_Instance instance, |
148 const PP_Flash_Menu* menu_data) { | 148 const PP_Flash_Menu* menu_data) { |
149 return PPB_Flash_Menu_Impl::Create(instance_, menu_data); | 149 return PPB_Flash_Menu_Impl::Create(instance_, menu_data); |
150 } | 150 } |
151 | 151 |
152 PP_Resource ResourceCreationImpl::CreateFlashNetConnector( | 152 PP_Resource ResourceCreationImpl::CreateFlashNetConnector( |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 return ReturnResource(new PPB_VideoDecoder_Impl(instance_)); | 219 return ReturnResource(new PPB_VideoDecoder_Impl(instance_)); |
220 } | 220 } |
221 | 221 |
222 PP_Resource ResourceCreationImpl::CreateVideoLayer(PP_Instance instance, | 222 PP_Resource ResourceCreationImpl::CreateVideoLayer(PP_Instance instance, |
223 PP_VideoLayerMode_Dev mode) { | 223 PP_VideoLayerMode_Dev mode) { |
224 return PPB_VideoLayer_Impl::Create(instance_, mode); | 224 return PPB_VideoLayer_Impl::Create(instance_, mode); |
225 } | 225 } |
226 | 226 |
227 } // namespace ppapi | 227 } // namespace ppapi |
228 } // namespace webkit | 228 } // namespace webkit |
OLD | NEW |