| 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 return PPB_Flash_Menu_Proxy::CreateProxyResource(instance, menu_data); | 239 return PPB_Flash_Menu_Proxy::CreateProxyResource(instance, menu_data); |
| 240 } | 240 } |
| 241 | 241 |
| 242 PP_Resource ResourceCreationProxy::CreateFlashMessageLoop( | 242 PP_Resource ResourceCreationProxy::CreateFlashMessageLoop( |
| 243 PP_Instance instance) { | 243 PP_Instance instance) { |
| 244 return PPB_Flash_MessageLoop_Proxy::CreateProxyResource(instance); | 244 return PPB_Flash_MessageLoop_Proxy::CreateProxyResource(instance); |
| 245 } | 245 } |
| 246 | 246 |
| 247 PP_Resource ResourceCreationProxy::CreateGraphics2D(PP_Instance instance, | 247 PP_Resource ResourceCreationProxy::CreateGraphics2D(PP_Instance instance, |
| 248 const PP_Size& size, | 248 const PP_Size& size, |
| 249 PP_Bool is_always_opaque) { | 249 PP_Bool is_always_opaque, |
| 250 float scale) { |
| 250 return PPB_Graphics2D_Proxy::CreateProxyResource(instance, size, | 251 return PPB_Graphics2D_Proxy::CreateProxyResource(instance, size, |
| 251 is_always_opaque); | 252 is_always_opaque, |
| 253 scale); |
| 252 } | 254 } |
| 253 | 255 |
| 254 PP_Resource ResourceCreationProxy::CreateHostResolverPrivate( | 256 PP_Resource ResourceCreationProxy::CreateHostResolverPrivate( |
| 255 PP_Instance instance) { | 257 PP_Instance instance) { |
| 256 return PPB_HostResolver_Private_Proxy::CreateProxyResource(instance); | 258 return PPB_HostResolver_Private_Proxy::CreateProxyResource(instance); |
| 257 } | 259 } |
| 258 | 260 |
| 259 PP_Resource ResourceCreationProxy::CreateNetworkMonitor( | 261 PP_Resource ResourceCreationProxy::CreateNetworkMonitor( |
| 260 PP_Instance instance, | 262 PP_Instance instance, |
| 261 PPB_NetworkMonitor_Callback callback, | 263 PPB_NetworkMonitor_Callback callback, |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 bool ResourceCreationProxy::Send(IPC::Message* msg) { | 342 bool ResourceCreationProxy::Send(IPC::Message* msg) { |
| 341 return dispatcher()->Send(msg); | 343 return dispatcher()->Send(msg); |
| 342 } | 344 } |
| 343 | 345 |
| 344 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) { | 346 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) { |
| 345 return false; | 347 return false; |
| 346 } | 348 } |
| 347 | 349 |
| 348 } // namespace proxy | 350 } // namespace proxy |
| 349 } // namespace ppapi | 351 } // namespace ppapi |
| OLD | NEW |