| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "mojo/examples/pepper_container_app/resource_creation_impl.h" | 5 #include "mojo/examples/pepper_container_app/resource_creation_impl.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "mojo/examples/pepper_container_app/graphics_3d_resource.h" | 8 #include "mojo/examples/pepper_container_app/graphics_3d_resource.h" |
| 9 | 9 |
| 10 namespace mojo { | 10 namespace mojo { |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 PP_Resource ResourceCreationImpl::CreateGraphics3D( | 175 PP_Resource ResourceCreationImpl::CreateGraphics3D( |
| 176 PP_Instance instance, | 176 PP_Instance instance, |
| 177 PP_Resource share_context, | 177 PP_Resource share_context, |
| 178 const int32_t* attrib_list) { | 178 const int32_t* attrib_list) { |
| 179 return (new Graphics3DResource(instance))->GetReference(); | 179 return (new Graphics3DResource(instance))->GetReference(); |
| 180 } | 180 } |
| 181 | 181 |
| 182 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( | 182 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( |
| 183 PP_Instance instance, | 183 PP_Instance instance, |
| 184 PP_Resource share_context, | 184 PP_Resource share_context, |
| 185 const int32_t* attrib_list) { | 185 const int32_t* attrib_list, |
| 186 base::SharedMemoryHandle* shared_state) { |
| 186 NOTIMPLEMENTED(); | 187 NOTIMPLEMENTED(); |
| 187 return 0; | 188 return 0; |
| 188 } | 189 } |
| 189 | 190 |
| 190 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) { | 191 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) { |
| 191 NOTIMPLEMENTED(); | 192 NOTIMPLEMENTED(); |
| 192 return 0; | 193 return 0; |
| 193 } | 194 } |
| 194 | 195 |
| 195 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate( | 196 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate( |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 PP_Instance instance, | 401 PP_Instance instance, |
| 401 PP_Resource context3d_id, | 402 PP_Resource context3d_id, |
| 402 PP_VideoDecoder_Profile profile) { | 403 PP_VideoDecoder_Profile profile) { |
| 403 NOTIMPLEMENTED(); | 404 NOTIMPLEMENTED(); |
| 404 return 0; | 405 return 0; |
| 405 } | 406 } |
| 406 #endif // !defined(OS_NACL) | 407 #endif // !defined(OS_NACL) |
| 407 | 408 |
| 408 } // namespace examples | 409 } // namespace examples |
| 409 } // namespace mojo | 410 } // namespace mojo |
| OLD | NEW |