| 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 "webkit/plugins/ppapi/resource_creation_impl.h" | 5 #include "webkit/plugins/ppapi/resource_creation_impl.h" |
| 6 | 6 |
| 7 #include "ppapi/c/pp_size.h" | 7 #include "ppapi/c/pp_size.h" |
| 8 #include "ppapi/shared_impl/ppb_audio_config_shared.h" | 8 #include "ppapi/shared_impl/ppb_audio_config_shared.h" |
| 9 #include "ppapi/shared_impl/private/ppb_browser_font_trusted_shared.h" | 9 #include "ppapi/shared_impl/private/ppb_browser_font_trusted_shared.h" |
| 10 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 10 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 PP_Resource ResourceCreationImpl::CreateFlashMenu( | 136 PP_Resource ResourceCreationImpl::CreateFlashMenu( |
| 137 PP_Instance instance, | 137 PP_Instance instance, |
| 138 const PP_Flash_Menu* menu_data) { | 138 const PP_Flash_Menu* menu_data) { |
| 139 return PPB_Flash_Menu_Impl::Create(instance, menu_data); | 139 return PPB_Flash_Menu_Impl::Create(instance, menu_data); |
| 140 } | 140 } |
| 141 | 141 |
| 142 PP_Resource ResourceCreationImpl::CreateFlashMessageLoop(PP_Instance instance) { | 142 PP_Resource ResourceCreationImpl::CreateFlashMessageLoop(PP_Instance instance) { |
| 143 return PPB_Flash_MessageLoop_Impl::Create(instance); | 143 return PPB_Flash_MessageLoop_Impl::Create(instance); |
| 144 } | 144 } |
| 145 | 145 |
| 146 PP_Resource ResourceCreationImpl::CreateGraphics2D( | |
| 147 PP_Instance instance, | |
| 148 const PP_Size& size, | |
| 149 PP_Bool is_always_opaque) { | |
| 150 return PPB_Graphics2D_Impl::Create(instance, size, is_always_opaque); | |
| 151 } | |
| 152 | |
| 153 PP_Resource ResourceCreationImpl::CreateGraphics3D( | 146 PP_Resource ResourceCreationImpl::CreateGraphics3D( |
| 154 PP_Instance instance, | 147 PP_Instance instance, |
| 155 PP_Resource share_context, | 148 PP_Resource share_context, |
| 156 const int32_t* attrib_list) { | 149 const int32_t* attrib_list) { |
| 157 return PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list); | 150 return PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list); |
| 158 } | 151 } |
| 159 | 152 |
| 160 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( | 153 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( |
| 161 PP_Instance instance, | 154 PP_Instance instance, |
| 162 PP_Resource share_context, | 155 PP_Resource share_context, |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 wheel_delta, wheel_ticks, scroll_by_page); | 306 wheel_delta, wheel_ticks, scroll_by_page); |
| 314 } | 307 } |
| 315 | 308 |
| 316 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 309 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
| 317 PP_Instance instance) { | 310 PP_Instance instance) { |
| 318 return PPB_X509Certificate_Private_Impl::CreateResource(instance); | 311 return PPB_X509Certificate_Private_Impl::CreateResource(instance); |
| 319 } | 312 } |
| 320 | 313 |
| 321 } // namespace ppapi | 314 } // namespace ppapi |
| 322 } // namespace webkit | 315 } // namespace webkit |
| OLD | NEW |