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 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 10 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 MockPluginDelegate::PlatformVideoCapture* | 65 MockPluginDelegate::PlatformVideoCapture* |
66 MockPluginDelegate::CreateVideoCapture( | 66 MockPluginDelegate::CreateVideoCapture( |
67 media::VideoCapture::EventHandler* handler){ | 67 media::VideoCapture::EventHandler* handler){ |
68 return NULL; | 68 return NULL; |
69 } | 69 } |
70 | 70 |
71 MockPluginDelegate::PlatformAudio* MockPluginDelegate::CreateAudio( | 71 MockPluginDelegate::PlatformAudio* MockPluginDelegate::CreateAudio( |
72 uint32_t sample_rate, | 72 uint32_t sample_rate, |
73 uint32_t sample_count, | 73 uint32_t sample_count, |
74 PlatformAudio::Client* client) { | 74 PlatformAudioCommonClient* client) { |
75 return NULL; | 75 return NULL; |
76 } | 76 } |
77 | 77 |
| 78 MockPluginDelegate::PlatformAudioInput* MockPluginDelegate::CreateAudioInput( |
| 79 uint32_t sample_rate, |
| 80 uint32_t sample_count, |
| 81 PlatformAudioCommonClient* client) { |
| 82 return NULL; |
| 83 } |
| 84 |
78 MockPluginDelegate::PpapiBroker* MockPluginDelegate::ConnectToPpapiBroker( | 85 MockPluginDelegate::PpapiBroker* MockPluginDelegate::ConnectToPpapiBroker( |
79 PPB_Broker_Impl* client) { | 86 PPB_Broker_Impl* client) { |
80 return NULL; | 87 return NULL; |
81 } | 88 } |
82 | 89 |
83 void MockPluginDelegate::NumberOfFindResultsChanged(int identifier, | 90 void MockPluginDelegate::NumberOfFindResultsChanged(int identifier, |
84 int total, | 91 int total, |
85 bool final_result) { | 92 bool final_result) { |
86 } | 93 } |
87 | 94 |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 | 306 |
300 void MockPluginDelegate::DidReceiveMouseEvent(PluginInstance* instance) { | 307 void MockPluginDelegate::DidReceiveMouseEvent(PluginInstance* instance) { |
301 } | 308 } |
302 | 309 |
303 bool MockPluginDelegate::IsInFullscreenMode() { | 310 bool MockPluginDelegate::IsInFullscreenMode() { |
304 return false; | 311 return false; |
305 } | 312 } |
306 | 313 |
307 } // namespace ppapi | 314 } // namespace ppapi |
308 } // namespace webkit | 315 } // namespace webkit |
OLD | NEW |