| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 PluginDelegate::PlatformGraphics2D* MockPluginDelegate::GetGraphics2D( | 81 PluginDelegate::PlatformGraphics2D* MockPluginDelegate::GetGraphics2D( |
| 82 PluginInstance* instance, | 82 PluginInstance* instance, |
| 83 PP_Resource graphics_2d) { | 83 PP_Resource graphics_2d) { |
| 84 return NULL; | 84 return NULL; |
| 85 } | 85 } |
| 86 | 86 |
| 87 MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() { | 87 MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() { |
| 88 return NULL; | 88 return NULL; |
| 89 } | 89 } |
| 90 void MockPluginDelegate::ReparentContext( | |
| 91 MockPluginDelegate::PlatformContext3D* context) { | |
| 92 } | |
| 93 | 90 |
| 94 MockPluginDelegate::PlatformVideoDecoder* | 91 MockPluginDelegate::PlatformVideoDecoder* |
| 95 MockPluginDelegate::CreateVideoDecoder( | 92 MockPluginDelegate::CreateVideoDecoder( |
| 96 media::VideoDecodeAccelerator::Client* client, | 93 media::VideoDecodeAccelerator::Client* client, |
| 97 int32 command_buffer_route_id) { | 94 int32 command_buffer_route_id) { |
| 98 return NULL; | 95 return NULL; |
| 99 } | 96 } |
| 100 | 97 |
| 101 MockPluginDelegate::PlatformVideoCapture* | 98 MockPluginDelegate::PlatformVideoCapture* |
| 102 MockPluginDelegate::CreateVideoCapture( | 99 MockPluginDelegate::CreateVideoCapture( |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 PP_DeviceType_Dev type, | 374 PP_DeviceType_Dev type, |
| 378 const EnumerateDevicesCallback& callback) { | 375 const EnumerateDevicesCallback& callback) { |
| 379 return -1; | 376 return -1; |
| 380 } | 377 } |
| 381 | 378 |
| 382 void MockPluginDelegate::StopEnumerateDevices(int request_id) { | 379 void MockPluginDelegate::StopEnumerateDevices(int request_id) { |
| 383 } | 380 } |
| 384 | 381 |
| 385 } // namespace ppapi | 382 } // namespace ppapi |
| 386 } // namespace webkit | 383 } // namespace webkit |
| OLD | NEW |