| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 PP_Resource ResourceCreationImpl::CreateFileSystem( | 125 PP_Resource ResourceCreationImpl::CreateFileSystem( |
| 126 PP_Instance instance, | 126 PP_Instance instance, |
| 127 PP_FileSystemType type) { | 127 PP_FileSystemType type) { |
| 128 return PPB_FileSystem_Impl::Create(instance, type); | 128 return PPB_FileSystem_Impl::Create(instance, type); |
| 129 } | 129 } |
| 130 | 130 |
| 131 PP_Resource ResourceCreationImpl::CreateFlashDeviceID(PP_Instance instance) { | 131 PP_Resource ResourceCreationImpl::CreateFlashDeviceID(PP_Instance instance) { |
| 132 return 0; // Not supported in-process. | 132 return 0; // Not supported in-process. |
| 133 } | 133 } |
| 134 | 134 |
| 135 PP_Resource ResourceCreationImpl::CreateFlashFontFile( |
| 136 PP_Instance instance, |
| 137 const PP_FontDescription_Dev* description, |
| 138 PP_PrivateFontCharset charset) { |
| 139 return 0; // Not supported in-process. |
| 140 } |
| 141 |
| 135 PP_Resource ResourceCreationImpl::CreateFlashMenu( | 142 PP_Resource ResourceCreationImpl::CreateFlashMenu( |
| 136 PP_Instance instance, | 143 PP_Instance instance, |
| 137 const PP_Flash_Menu* menu_data) { | 144 const PP_Flash_Menu* menu_data) { |
| 138 return PPB_Flash_Menu_Impl::Create(instance, menu_data); | 145 return PPB_Flash_Menu_Impl::Create(instance, menu_data); |
| 139 } | 146 } |
| 140 | 147 |
| 141 PP_Resource ResourceCreationImpl::CreateFlashMessageLoop(PP_Instance instance) { | 148 PP_Resource ResourceCreationImpl::CreateFlashMessageLoop(PP_Instance instance) { |
| 142 return PPB_Flash_MessageLoop_Impl::Create(instance); | 149 return PPB_Flash_MessageLoop_Impl::Create(instance); |
| 143 } | 150 } |
| 144 | 151 |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 wheel_delta, wheel_ticks, scroll_by_page); | 314 wheel_delta, wheel_ticks, scroll_by_page); |
| 308 } | 315 } |
| 309 | 316 |
| 310 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 317 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
| 311 PP_Instance instance) { | 318 PP_Instance instance) { |
| 312 return PPB_X509Certificate_Private_Impl::CreateResource(instance); | 319 return PPB_X509Certificate_Private_Impl::CreateResource(instance); |
| 313 } | 320 } |
| 314 | 321 |
| 315 } // namespace ppapi | 322 } // namespace ppapi |
| 316 } // namespace webkit | 323 } // namespace webkit |
| OLD | NEW |