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

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

Issue 7248047: Migrating PPB_FileIO_Dev, PPB_FileRef_Dev, and PPB_FileSystem_Dev dependencies to PPB_FileIO, PPB... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 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
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 return ReturnResource(new PPB_VideoDecoder_Impl(instance_)); 213 return ReturnResource(new PPB_VideoDecoder_Impl(instance_));
214 } 214 }
215 215
216 PP_Resource ResourceCreationImpl::CreateVideoLayer(PP_Instance instance, 216 PP_Resource ResourceCreationImpl::CreateVideoLayer(PP_Instance instance,
217 PP_VideoLayerMode_Dev mode) { 217 PP_VideoLayerMode_Dev mode) {
218 return PPB_VideoLayer_Impl::Create(instance_, mode); 218 return PPB_VideoLayer_Impl::Create(instance_, mode);
219 } 219 }
220 220
221 } // namespace ppapi 221 } // namespace ppapi
222 } // namespace webkit 222 } // namespace webkit
OLDNEW
« webkit/plugins/ppapi/plugin_module.cc ('K') | « webkit/plugins/ppapi/resource_creation_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698