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