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 "content/renderer/pepper/ppb_audio_impl.h" | 7 #include "content/renderer/pepper/ppb_audio_impl.h" |
8 #include "content/renderer/pepper/ppb_broker_impl.h" | 8 #include "content/renderer/pepper/ppb_broker_impl.h" |
9 #include "content/renderer/pepper/ppb_buffer_impl.h" | 9 #include "content/renderer/pepper/ppb_buffer_impl.h" |
10 #include "content/renderer/pepper/ppb_flash_message_loop_impl.h" | 10 #include "content/renderer/pepper/ppb_flash_message_loop_impl.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 99 |
100 PP_Resource ResourceCreationImpl::CreateGraphics3D(PP_Instance instance, | 100 PP_Resource ResourceCreationImpl::CreateGraphics3D(PP_Instance instance, |
101 PP_Resource share_context, | 101 PP_Resource share_context, |
102 const int32_t* attrib_list) { | 102 const int32_t* attrib_list) { |
103 return PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list); | 103 return PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list); |
104 } | 104 } |
105 | 105 |
106 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( | 106 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( |
107 PP_Instance instance, | 107 PP_Instance instance, |
108 PP_Resource share_context, | 108 PP_Resource share_context, |
109 const int32_t* attrib_list) { | 109 const int32_t* attrib_list, |
110 return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list); | 110 base::SharedMemoryHandle* shared_state) { |
| 111 return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list, |
| 112 shared_state); |
111 } | 113 } |
112 | 114 |
113 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) { | 115 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) { |
114 return 0; // Not supported in-process. | 116 return 0; // Not supported in-process. |
115 } | 117 } |
116 | 118 |
117 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate( | 119 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate( |
118 PP_Instance instance) { | 120 PP_Instance instance) { |
119 return 0; // Not supported in-process. | 121 return 0; // Not supported in-process. |
120 } | 122 } |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 wheel_ticks, | 339 wheel_ticks, |
338 scroll_by_page); | 340 scroll_by_page); |
339 } | 341 } |
340 | 342 |
341 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 343 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
342 PP_Instance instance) { | 344 PP_Instance instance) { |
343 return 0; // Not supported in-process. | 345 return 0; // Not supported in-process. |
344 } | 346 } |
345 | 347 |
346 } // namespace content | 348 } // namespace content |
OLD | NEW |