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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) { | 43 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) { |
44 } | 44 } |
45 | 45 |
46 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) { | 46 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) { |
47 } | 47 } |
48 | 48 |
49 SkBitmap* MockPluginDelegate::GetSadPluginBitmap() { | 49 SkBitmap* MockPluginDelegate::GetSadPluginBitmap() { |
50 return NULL; | 50 return NULL; |
51 } | 51 } |
52 | 52 |
| 53 WebKit::WebPlugin* MockPluginDelegate::CreatePluginReplacement( |
| 54 const FilePath& file_path) { |
| 55 return NULL; |
| 56 } |
| 57 |
53 MockPluginDelegate::PlatformImage2D* MockPluginDelegate::CreateImage2D( | 58 MockPluginDelegate::PlatformImage2D* MockPluginDelegate::CreateImage2D( |
54 int width, | 59 int width, |
55 int height) { | 60 int height) { |
56 return NULL; | 61 return NULL; |
57 } | 62 } |
58 | 63 |
59 MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() { | 64 MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() { |
60 return NULL; | 65 return NULL; |
61 } | 66 } |
62 | 67 |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 return -1; | 435 return -1; |
431 } | 436 } |
432 | 437 |
433 webkit_glue::ClipboardClient* | 438 webkit_glue::ClipboardClient* |
434 MockPluginDelegate::CreateClipboardClient() const { | 439 MockPluginDelegate::CreateClipboardClient() const { |
435 return NULL; | 440 return NULL; |
436 } | 441 } |
437 | 442 |
438 } // namespace ppapi | 443 } // namespace ppapi |
439 } // namespace webkit | 444 } // namespace webkit |
OLD | NEW |