OLD | NEW |
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 "ppapi/proxy/resource_creation_proxy.h" | 5 #include "ppapi/proxy/resource_creation_proxy.h" |
6 | 6 |
7 #include "ppapi/c/pp_errors.h" | 7 #include "ppapi/c/pp_errors.h" |
8 #include "ppapi/c/pp_size.h" | 8 #include "ppapi/c/pp_size.h" |
9 #include "ppapi/c/trusted/ppb_image_data_trusted.h" | 9 #include "ppapi/c/trusted/ppb_image_data_trusted.h" |
10 #include "ppapi/proxy/plugin_dispatcher.h" | 10 #include "ppapi/proxy/plugin_dispatcher.h" |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 | 216 |
217 PP_Resource ResourceCreationProxy::CreateDirectoryReader( | 217 PP_Resource ResourceCreationProxy::CreateDirectoryReader( |
218 PP_Resource directory_ref) { | 218 PP_Resource directory_ref) { |
219 NOTIMPLEMENTED(); // Not proxied yet. | 219 NOTIMPLEMENTED(); // Not proxied yet. |
220 return 0; | 220 return 0; |
221 } | 221 } |
222 | 222 |
223 PP_Resource ResourceCreationProxy::CreateFileChooser( | 223 PP_Resource ResourceCreationProxy::CreateFileChooser( |
224 PP_Instance instance, | 224 PP_Instance instance, |
225 PP_FileChooserMode_Dev mode, | 225 PP_FileChooserMode_Dev mode, |
226 const char* accept_mime_types) { | 226 const char* accept_types) { |
227 return PPB_FileChooser_Proxy::CreateProxyResource(instance, mode, | 227 return PPB_FileChooser_Proxy::CreateProxyResource(instance, mode, |
228 accept_mime_types); | 228 accept_types); |
229 } | 229 } |
230 | 230 |
231 PP_Resource ResourceCreationProxy::CreateFlashMenu( | 231 PP_Resource ResourceCreationProxy::CreateFlashMenu( |
232 PP_Instance instance, | 232 PP_Instance instance, |
233 const PP_Flash_Menu* menu_data) { | 233 const PP_Flash_Menu* menu_data) { |
234 return PPB_Flash_Menu_Proxy::CreateProxyResource(instance, menu_data); | 234 return PPB_Flash_Menu_Proxy::CreateProxyResource(instance, menu_data); |
235 } | 235 } |
236 | 236 |
237 PP_Resource ResourceCreationProxy::CreateFlashMessageLoop( | 237 PP_Resource ResourceCreationProxy::CreateFlashMessageLoop( |
238 PP_Instance instance) { | 238 PP_Instance instance) { |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 bool ResourceCreationProxy::Send(IPC::Message* msg) { | 342 bool ResourceCreationProxy::Send(IPC::Message* msg) { |
343 return dispatcher()->Send(msg); | 343 return dispatcher()->Send(msg); |
344 } | 344 } |
345 | 345 |
346 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) { | 346 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) { |
347 return false; | 347 return false; |
348 } | 348 } |
349 | 349 |
350 } // namespace proxy | 350 } // namespace proxy |
351 } // namespace ppapi | 351 } // namespace ppapi |
OLD | NEW |