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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 int32 command_buffer_route_id) { | 49 int32 command_buffer_route_id) { |
50 return NULL; | 50 return NULL; |
51 } | 51 } |
52 | 52 |
| 53 MockPluginDelegate::PlatformVideoCapture* |
| 54 MockPluginDelegate::CreateVideoCapture( |
| 55 media::VideoCapture::EventHandler* handler){ |
| 56 return NULL; |
| 57 } |
| 58 |
53 MockPluginDelegate::PlatformAudio* MockPluginDelegate::CreateAudio( | 59 MockPluginDelegate::PlatformAudio* MockPluginDelegate::CreateAudio( |
54 uint32_t sample_rate, | 60 uint32_t sample_rate, |
55 uint32_t sample_count, | 61 uint32_t sample_count, |
56 PlatformAudio::Client* client) { | 62 PlatformAudio::Client* client) { |
57 return NULL; | 63 return NULL; |
58 } | 64 } |
59 | 65 |
60 MockPluginDelegate::PpapiBroker* MockPluginDelegate::ConnectToPpapiBroker( | 66 MockPluginDelegate::PpapiBroker* MockPluginDelegate::ConnectToPpapiBroker( |
61 PPB_Broker_Impl* client) { | 67 PPB_Broker_Impl* client) { |
62 return NULL; | 68 return NULL; |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 uint32_t size) { | 275 uint32_t size) { |
270 return NULL; | 276 return NULL; |
271 } | 277 } |
272 | 278 |
273 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { | 279 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { |
274 return ::ppapi::Preferences(); | 280 return ::ppapi::Preferences(); |
275 } | 281 } |
276 | 282 |
277 } // namespace ppapi | 283 } // namespace ppapi |
278 } // namespace webkit | 284 } // namespace webkit |
OLD | NEW |