OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/message_loop_proxy.h" | 7 #include "base/message_loop_proxy.h" |
8 #include "ppapi/c/pp_errors.h" | 8 #include "ppapi/c/pp_errors.h" |
9 | 9 |
10 namespace webkit { | 10 namespace webkit { |
11 namespace ppapi { | 11 namespace ppapi { |
12 | 12 |
13 MockPluginDelegate::MockPluginDelegate() { | 13 MockPluginDelegate::MockPluginDelegate() { |
14 } | 14 } |
15 | 15 |
16 MockPluginDelegate::~MockPluginDelegate() { | 16 MockPluginDelegate::~MockPluginDelegate() { |
17 } | 17 } |
18 | 18 |
| 19 void MockPluginDelegate::PluginFocusChanged(bool focused) { |
| 20 } |
| 21 |
19 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) { | 22 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) { |
20 } | 23 } |
21 | 24 |
22 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) { | 25 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) { |
23 } | 26 } |
24 | 27 |
25 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) { | 28 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) { |
26 } | 29 } |
27 | 30 |
28 SkBitmap* MockPluginDelegate::GetSadPluginBitmap() { | 31 SkBitmap* MockPluginDelegate::GetSadPluginBitmap() { |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 return std::string(); | 246 return std::string(); |
244 } | 247 } |
245 | 248 |
246 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( | 249 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( |
247 uint32_t size) { | 250 uint32_t size) { |
248 return NULL; | 251 return NULL; |
249 } | 252 } |
250 | 253 |
251 } // namespace ppapi | 254 } // namespace ppapi |
252 } // namespace webkit | 255 } // namespace webkit |
OLD | NEW |