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 "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/proxy/host_resource.h" | 9 #include "ppapi/proxy/host_resource.h" |
10 #include "ppapi/proxy/interface_id.h" | 10 #include "ppapi/proxy/interface_id.h" |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 PP_Resource ResourceCreationProxy::CreateGraphics3DRaw( | 256 PP_Resource ResourceCreationProxy::CreateGraphics3DRaw( |
257 PP_Instance instance, | 257 PP_Instance instance, |
258 PP_Config3D_Dev config, | 258 PP_Config3D_Dev config, |
259 PP_Resource share_context, | 259 PP_Resource share_context, |
260 const int32_t* attrib_list) { | 260 const int32_t* attrib_list) { |
261 // Not proxied. The raw creation function is used only in the implementation | 261 // Not proxied. The raw creation function is used only in the implementation |
262 // of the proxy on the host side. | 262 // of the proxy on the host side. |
263 return 0; | 263 return 0; |
264 } | 264 } |
265 | 265 |
266 PP_Resource ResourceCreationProxy::CreateScrollbar(PP_Instance instance, | 266 PP_Resource ResourceCreationProxy::CreateScrollbar(PP_Resource scrollbar_group, |
267 PP_Bool vertical) { | 267 PP_Bool vertical) { |
268 NOTIMPLEMENTED(); // Not proxied yet. | 268 NOTIMPLEMENTED(); // Not proxied yet. |
269 return 0; | 269 return 0; |
270 } | 270 } |
271 | 271 |
| 272 PP_Resource ResourceCreationProxy::CreateScrollbarGroup(PP_Instance instance) { |
| 273 NOTIMPLEMENTED(); // Not proxied yet. |
| 274 return 0; |
| 275 } |
| 276 |
272 PP_Resource ResourceCreationProxy::CreateSurface3D( | 277 PP_Resource ResourceCreationProxy::CreateSurface3D( |
273 PP_Instance instance, | 278 PP_Instance instance, |
274 PP_Config3D_Dev config, | 279 PP_Config3D_Dev config, |
275 const int32_t* attrib_list) { | 280 const int32_t* attrib_list) { |
276 return PPB_Surface3D_Proxy::CreateProxyResource(instance, config, | 281 return PPB_Surface3D_Proxy::CreateProxyResource(instance, config, |
277 attrib_list); | 282 attrib_list); |
278 } | 283 } |
279 | 284 |
280 PP_Resource ResourceCreationProxy::CreateTransport(PP_Instance instance, | 285 PP_Resource ResourceCreationProxy::CreateTransport(PP_Instance instance, |
281 const char* name, | 286 const char* name, |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false); | 404 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false); |
400 #else | 405 #else |
401 *result_image_handle = ImageData::HandleFromInt(handle); | 406 *result_image_handle = ImageData::HandleFromInt(handle); |
402 #endif | 407 #endif |
403 } | 408 } |
404 } | 409 } |
405 } | 410 } |
406 | 411 |
407 } // namespace proxy | 412 } // namespace proxy |
408 } // namespace pp | 413 } // namespace pp |
OLD | NEW |