Index: webkit/plugins/ppapi/mock_plugin_delegate.cc |
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.cc b/webkit/plugins/ppapi/mock_plugin_delegate.cc |
index c34643aa19e3f90325d9d2468de05cb3fef78535..010814ada8c6225cb9c5b80dcdec73e67146f084 100644 |
--- a/webkit/plugins/ppapi/mock_plugin_delegate.cc |
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.cc |
@@ -7,6 +7,7 @@ |
#include "base/message_loop_proxy.h" |
#include "ppapi/c/pp_errors.h" |
#include "ppapi/shared_impl/ppapi_preferences.h" |
+#include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
namespace webkit { |
namespace ppapi { |
@@ -284,5 +285,12 @@ base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( |
return ::ppapi::Preferences(); |
} |
+void MockPluginDelegate::LockMouse(PluginInstance* instance) { |
+ instance->OnLockMouseACK(PP_ERROR_FAILED); |
+} |
+ |
+void MockPluginDelegate::UnlockMouse(PluginInstance* instance) { |
+} |
+ |
} // namespace ppapi |
} // namespace webkit |