| 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/mock_plugin_delegate.h" | 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop_proxy.h" |
| 9 #include "ppapi/c/pp_errors.h" | 9 #include "ppapi/c/pp_errors.h" |
| 10 #include "ppapi/shared_impl/ppapi_preferences.h" | 10 #include "ppapi/shared_impl/ppapi_preferences.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 return 0; | 78 return 0; |
| 79 } | 79 } |
| 80 | 80 |
| 81 uint32_t MockPluginDelegate::GetAudioHardwareOutputBufferSize() { | 81 uint32_t MockPluginDelegate::GetAudioHardwareOutputBufferSize() { |
| 82 return 0; | 82 return 0; |
| 83 } | 83 } |
| 84 | 84 |
| 85 MockPluginDelegate::PlatformAudioOutput* MockPluginDelegate::CreateAudioOutput( | 85 MockPluginDelegate::PlatformAudioOutput* MockPluginDelegate::CreateAudioOutput( |
| 86 uint32_t sample_rate, | 86 uint32_t sample_rate, |
| 87 uint32_t sample_count, | 87 uint32_t sample_count, |
| 88 PlatformAudioCommonClient* client) { | 88 PlatformAudioOutputClient* client) { |
| 89 return NULL; | 89 return NULL; |
| 90 } | 90 } |
| 91 | 91 |
| 92 MockPluginDelegate::PlatformAudioInput* MockPluginDelegate::CreateAudioInput( | 92 MockPluginDelegate::PlatformAudioInput* MockPluginDelegate::CreateAudioInput( |
| 93 const std::string& device_id, |
| 93 uint32_t sample_rate, | 94 uint32_t sample_rate, |
| 94 uint32_t sample_count, | 95 uint32_t sample_count, |
| 95 PlatformAudioCommonClient* client) { | 96 PlatformAudioInputClient* client) { |
| 96 return NULL; | 97 return NULL; |
| 97 } | 98 } |
| 98 | 99 |
| 99 MockPluginDelegate::Broker* MockPluginDelegate::ConnectToBroker( | 100 MockPluginDelegate::Broker* MockPluginDelegate::ConnectToBroker( |
| 100 PPB_Broker_Impl* client) { | 101 PPB_Broker_Impl* client) { |
| 101 return NULL; | 102 return NULL; |
| 102 } | 103 } |
| 103 | 104 |
| 104 void MockPluginDelegate::NumberOfFindResultsChanged(int identifier, | 105 void MockPluginDelegate::NumberOfFindResultsChanged(int identifier, |
| 105 int total, | 106 int total, |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 return -1; | 438 return -1; |
| 438 } | 439 } |
| 439 | 440 |
| 440 webkit_glue::ClipboardClient* | 441 webkit_glue::ClipboardClient* |
| 441 MockPluginDelegate::CreateClipboardClient() const { | 442 MockPluginDelegate::CreateClipboardClient() const { |
| 442 return NULL; | 443 return NULL; |
| 443 } | 444 } |
| 444 | 445 |
| 445 } // namespace ppapi | 446 } // namespace ppapi |
| 446 } // namespace webkit | 447 } // namespace webkit |
| OLD | NEW |