| 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/audio_input_resource.h" | 10 #include "ppapi/proxy/audio_input_resource.h" |
| 11 #include "ppapi/proxy/connection.h" | 11 #include "ppapi/proxy/connection.h" |
| 12 #include "ppapi/proxy/file_chooser_resource.h" | 12 #include "ppapi/proxy/file_chooser_resource.h" |
| 13 #include "ppapi/proxy/flash_device_id_resource.h" | 13 #include "ppapi/proxy/flash_device_id_resource.h" |
| 14 #include "ppapi/proxy/flash_font_file_resource.h" | 14 #include "ppapi/proxy/flash_font_file_resource.h" |
| 15 #include "ppapi/proxy/flash_menu_resource.h" | 15 #include "ppapi/proxy/flash_menu_resource.h" |
| 16 #include "ppapi/proxy/plugin_dispatcher.h" | 16 #include "ppapi/proxy/plugin_dispatcher.h" |
| 17 #include "ppapi/proxy/plugin_globals.h" | 17 #include "ppapi/proxy/plugin_globals.h" |
| 18 #include "ppapi/proxy/plugin_proxy_delegate.h" | |
| 19 #include "ppapi/proxy/plugin_resource_tracker.h" | 18 #include "ppapi/proxy/plugin_resource_tracker.h" |
| 20 #include "ppapi/proxy/ppapi_messages.h" | 19 #include "ppapi/proxy/ppapi_messages.h" |
| 21 #include "ppapi/proxy/ppb_audio_proxy.h" | 20 #include "ppapi/proxy/ppb_audio_proxy.h" |
| 22 #include "ppapi/proxy/ppb_broker_proxy.h" | 21 #include "ppapi/proxy/ppb_broker_proxy.h" |
| 23 #include "ppapi/proxy/ppb_buffer_proxy.h" | 22 #include "ppapi/proxy/ppb_buffer_proxy.h" |
| 24 #include "ppapi/proxy/ppb_file_io_proxy.h" | 23 #include "ppapi/proxy/ppb_file_io_proxy.h" |
| 25 #include "ppapi/proxy/ppb_file_ref_proxy.h" | 24 #include "ppapi/proxy/ppb_file_ref_proxy.h" |
| 26 #include "ppapi/proxy/ppb_file_system_proxy.h" | 25 #include "ppapi/proxy/ppb_file_system_proxy.h" |
| 27 #include "ppapi/proxy/ppb_flash_message_loop_proxy.h" | 26 #include "ppapi/proxy/ppb_flash_message_loop_proxy.h" |
| 28 #include "ppapi/proxy/ppb_graphics_2d_proxy.h" | 27 #include "ppapi/proxy/ppb_graphics_2d_proxy.h" |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 | 376 |
| 378 bool ResourceCreationProxy::Send(IPC::Message* msg) { | 377 bool ResourceCreationProxy::Send(IPC::Message* msg) { |
| 379 return dispatcher()->Send(msg); | 378 return dispatcher()->Send(msg); |
| 380 } | 379 } |
| 381 | 380 |
| 382 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) { | 381 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) { |
| 383 return false; | 382 return false; |
| 384 } | 383 } |
| 385 | 384 |
| 386 Connection ResourceCreationProxy::GetConnection() { | 385 Connection ResourceCreationProxy::GetConnection() { |
| 387 return Connection( | 386 return Connection(PluginGlobals::Get()->GetBrowserSender(), dispatcher()); |
| 388 PluginGlobals::Get()->plugin_proxy_delegate()->GetBrowserSender(), | |
| 389 dispatcher()); | |
| 390 } | 387 } |
| 391 | 388 |
| 392 } // namespace proxy | 389 } // namespace proxy |
| 393 } // namespace ppapi | 390 } // namespace ppapi |
| OLD | NEW |