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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 49 |
50 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) { | 50 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) { |
51 } | 51 } |
52 | 52 |
53 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) { | 53 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) { |
54 } | 54 } |
55 | 55 |
56 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) { | 56 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) { |
57 } | 57 } |
58 | 58 |
| 59 scoped_ptr< ::ppapi::thunk::ResourceCreationAPI> |
| 60 MockPluginDelegate::CreateResourceCreationAPI(PluginInstance* instance) { |
| 61 return scoped_ptr< ::ppapi::thunk::ResourceCreationAPI>(); |
| 62 } |
| 63 |
59 SkBitmap* MockPluginDelegate::GetSadPluginBitmap() { | 64 SkBitmap* MockPluginDelegate::GetSadPluginBitmap() { |
60 return NULL; | 65 return NULL; |
61 } | 66 } |
62 | 67 |
63 WebKit::WebPlugin* MockPluginDelegate::CreatePluginReplacement( | 68 WebKit::WebPlugin* MockPluginDelegate::CreatePluginReplacement( |
64 const FilePath& file_path) { | 69 const FilePath& file_path) { |
65 return NULL; | 70 return NULL; |
66 } | 71 } |
67 | 72 |
68 MockPluginDelegate::PlatformImage2D* MockPluginDelegate::CreateImage2D( | 73 MockPluginDelegate::PlatformImage2D* MockPluginDelegate::CreateImage2D( |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 MockPluginDelegate::CreateClipboardClient() const { | 459 MockPluginDelegate::CreateClipboardClient() const { |
455 return NULL; | 460 return NULL; |
456 } | 461 } |
457 | 462 |
458 std::string MockPluginDelegate::GetDeviceID() { | 463 std::string MockPluginDelegate::GetDeviceID() { |
459 return std::string(); | 464 return std::string(); |
460 } | 465 } |
461 | 466 |
462 } // namespace ppapi | 467 } // namespace ppapi |
463 } // namespace webkit | 468 } // namespace webkit |
OLD | NEW |