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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list); |
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 uint64_t* 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, |
129 capabilities, shared_state, | 129 capabilities, shared_state, |
130 command_buffer_id); | 130 command_buffer_id); |
131 } | 131 } |
132 | 132 |
133 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) { | 133 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) { |
134 return 0; // Not supported in-process. | 134 return 0; // Not supported in-process. |
135 } | 135 } |
136 | 136 |
137 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate( | 137 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate( |
(...skipping 225 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 |