| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/mock_plugin_delegate.h" | 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" |
| 6 | 6 |
| 7 #include "base/message_loop_proxy.h" | 7 #include "base/message_loop_proxy.h" |
| 8 #include "ppapi/c/pp_errors.h" | 8 #include "ppapi/c/pp_errors.h" |
| 9 #include "ppapi/shared_impl/ppapi_preferences.h" | 9 #include "ppapi/shared_impl/ppapi_preferences.h" |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 return NULL; | 39 return NULL; |
| 40 } | 40 } |
| 41 | 41 |
| 42 MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() { | 42 MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() { |
| 43 return NULL; | 43 return NULL; |
| 44 } | 44 } |
| 45 | 45 |
| 46 MockPluginDelegate::PlatformVideoDecoder* | 46 MockPluginDelegate::PlatformVideoDecoder* |
| 47 MockPluginDelegate::CreateVideoDecoder( | 47 MockPluginDelegate::CreateVideoDecoder( |
| 48 media::VideoDecodeAccelerator::Client* client, | 48 media::VideoDecodeAccelerator::Client* client, |
| 49 int command_buffer_route_id) { | 49 int32 command_buffer_route_id, |
| 50 gpu::CommandBufferHelper* cmd_buffer_helper) { |
| 50 return NULL; | 51 return NULL; |
| 51 } | 52 } |
| 52 | 53 |
| 53 MockPluginDelegate::PlatformAudio* MockPluginDelegate::CreateAudio( | 54 MockPluginDelegate::PlatformAudio* MockPluginDelegate::CreateAudio( |
| 54 uint32_t sample_rate, | 55 uint32_t sample_rate, |
| 55 uint32_t sample_count, | 56 uint32_t sample_count, |
| 56 PlatformAudio::Client* client) { | 57 PlatformAudio::Client* client) { |
| 57 return NULL; | 58 return NULL; |
| 58 } | 59 } |
| 59 | 60 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 uint32_t size) { | 253 uint32_t size) { |
| 253 return NULL; | 254 return NULL; |
| 254 } | 255 } |
| 255 | 256 |
| 256 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { | 257 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { |
| 257 return ::ppapi::Preferences(); | 258 return ::ppapi::Preferences(); |
| 258 } | 259 } |
| 259 | 260 |
| 260 } // namespace ppapi | 261 } // namespace ppapi |
| 261 } // namespace webkit | 262 } // namespace webkit |
| OLD | NEW |