| 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 "content/renderer/pepper/resource_creation_impl.h" | 5 #include "content/renderer/pepper/resource_creation_impl.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "content/common/content_switches_internal.h" | 8 #include "content/common/content_switches_internal.h" |
| 9 #include "content/renderer/pepper/ppb_audio_impl.h" | 9 #include "content/renderer/pepper/ppb_audio_impl.h" |
| 10 #include "content/renderer/pepper/ppb_broker_impl.h" | 10 #include "content/renderer/pepper/ppb_broker_impl.h" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 return 0; // Not supported in-process. | 108 return 0; // Not supported in-process. |
| 109 } | 109 } |
| 110 | 110 |
| 111 PP_Resource ResourceCreationImpl::CreateFlashMessageLoop(PP_Instance instance) { | 111 PP_Resource ResourceCreationImpl::CreateFlashMessageLoop(PP_Instance instance) { |
| 112 return PPB_Flash_MessageLoop_Impl::Create(instance); | 112 return PPB_Flash_MessageLoop_Impl::Create(instance); |
| 113 } | 113 } |
| 114 | 114 |
| 115 PP_Resource ResourceCreationImpl::CreateGraphics3D(PP_Instance instance, | 115 PP_Resource ResourceCreationImpl::CreateGraphics3D(PP_Instance instance, |
| 116 PP_Resource share_context, | 116 PP_Resource share_context, |
| 117 const int32_t* attrib_list) { | 117 const int32_t* attrib_list) { |
| 118 return PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list); | 118 return 0; // Not supported in-process. |
| 119 } | 119 } |
| 120 | 120 |
| 121 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( | 121 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( |
| 122 PP_Instance instance, | 122 PP_Instance instance, |
| 123 PP_Resource share_context, | 123 PP_Resource share_context, |
| 124 const int32_t* attrib_list, | 124 const int32_t* attrib_list, |
| 125 gpu::Capabilities* capabilities, | 125 gpu::Capabilities* capabilities, |
| 126 base::SharedMemoryHandle* shared_state, | 126 base::SharedMemoryHandle* shared_state, |
| 127 gpu::CommandBufferId* command_buffer_id) { | 127 gpu::CommandBufferId* command_buffer_id) { |
| 128 return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list, | 128 return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list, |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 wheel_ticks, | 363 wheel_ticks, |
| 364 scroll_by_page); | 364 scroll_by_page); |
| 365 } | 365 } |
| 366 | 366 |
| 367 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 367 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
| 368 PP_Instance instance) { | 368 PP_Instance instance) { |
| 369 return 0; // Not supported in-process. | 369 return 0; // Not supported in-process. |
| 370 } | 370 } |
| 371 | 371 |
| 372 } // namespace content | 372 } // namespace content |
| OLD | NEW |