| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 MockPluginDelegate::PlatformImage2D* MockPluginDelegate::CreateImage2D( | 73 MockPluginDelegate::PlatformImage2D* MockPluginDelegate::CreateImage2D( |
| 74 int width, | 74 int width, |
| 75 int height) { | 75 int height) { |
| 76 return NULL; | 76 return NULL; |
| 77 } | 77 } |
| 78 | 78 |
| 79 MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() { | 79 MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() { |
| 80 return NULL; | 80 return NULL; |
| 81 } | 81 } |
| 82 void MockPluginDelegate::ReparentContext( |
| 83 MockPluginDelegate::PlatformContext3D* context) { |
| 84 } |
| 82 | 85 |
| 83 MockPluginDelegate::PlatformVideoDecoder* | 86 MockPluginDelegate::PlatformVideoDecoder* |
| 84 MockPluginDelegate::CreateVideoDecoder( | 87 MockPluginDelegate::CreateVideoDecoder( |
| 85 media::VideoDecodeAccelerator::Client* client, | 88 media::VideoDecodeAccelerator::Client* client, |
| 86 int32 command_buffer_route_id) { | 89 int32 command_buffer_route_id) { |
| 87 return NULL; | 90 return NULL; |
| 88 } | 91 } |
| 89 | 92 |
| 90 MockPluginDelegate::PlatformVideoCapture* | 93 MockPluginDelegate::PlatformVideoCapture* |
| 91 MockPluginDelegate::CreateVideoCapture( | 94 MockPluginDelegate::CreateVideoCapture( |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 } | 470 } |
| 468 | 471 |
| 469 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( | 472 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( |
| 470 const GURL& document_url, | 473 const GURL& document_url, |
| 471 const GURL& plugin_url) { | 474 const GURL& plugin_url) { |
| 472 return PP_FLASHLSORESTRICTIONS_NONE; | 475 return PP_FLASHLSORESTRICTIONS_NONE; |
| 473 } | 476 } |
| 474 | 477 |
| 475 } // namespace ppapi | 478 } // namespace ppapi |
| 476 } // namespace webkit | 479 } // namespace webkit |
| OLD | NEW |