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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 PluginDelegate::PlatformGraphics2D* MockPluginDelegate::GetGraphics2D( | 82 PluginDelegate::PlatformGraphics2D* MockPluginDelegate::GetGraphics2D( |
83 PluginInstance* instance, | 83 PluginInstance* instance, |
84 PP_Resource graphics_2d) { | 84 PP_Resource graphics_2d) { |
85 return NULL; | 85 return NULL; |
86 } | 86 } |
87 | 87 |
88 MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() { | 88 MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() { |
89 return NULL; | 89 return NULL; |
90 } | 90 } |
91 void MockPluginDelegate::ReparentContext( | |
92 MockPluginDelegate::PlatformContext3D* context) { | |
93 } | |
94 | 91 |
95 MockPluginDelegate::PlatformVideoDecoder* | 92 MockPluginDelegate::PlatformVideoDecoder* |
96 MockPluginDelegate::CreateVideoDecoder( | 93 MockPluginDelegate::CreateVideoDecoder( |
97 media::VideoDecodeAccelerator::Client* client, | 94 media::VideoDecodeAccelerator::Client* client, |
98 int32 command_buffer_route_id) { | 95 int32 command_buffer_route_id) { |
99 return NULL; | 96 return NULL; |
100 } | 97 } |
101 | 98 |
102 MockPluginDelegate::PlatformVideoCapture* | 99 MockPluginDelegate::PlatformVideoCapture* |
103 MockPluginDelegate::CreateVideoCapture( | 100 MockPluginDelegate::CreateVideoCapture( |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 return false; | 410 return false; |
414 } | 411 } |
415 | 412 |
416 void MockPluginDelegate::HandleDocumentLoad( | 413 void MockPluginDelegate::HandleDocumentLoad( |
417 PluginInstance* instance, | 414 PluginInstance* instance, |
418 const WebKit::WebURLResponse& response) { | 415 const WebKit::WebURLResponse& response) { |
419 } | 416 } |
420 | 417 |
421 } // namespace ppapi | 418 } // namespace ppapi |
422 } // namespace webkit | 419 } // namespace webkit |
OLD | NEW |