Index: content/renderer/pepper/pepper_plugin_instance_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
index c1bc651ca3a128eccc9af186294680e5c88f15f9..573831d4d55983252115a44c5c447c1ffc081ea5 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -1305,6 +1305,21 @@ void PepperPluginInstanceImpl::PostMessageToJavaScript(PP_Var message) { |
message_channel_->PostMessageToJavaScript(message); |
} |
+int32_t PepperPluginInstanceImpl::RegisterMessageHandler( |
+ PP_Instance instance, |
+ void* user_data, |
+ const PPP_MessageHandler_0_1* handler, |
+ PP_Resource message_loop) { |
+ // Not supported in-process. |
+ NOTIMPLEMENTED(); |
+ return PP_ERROR_FAILED; |
+} |
+ |
+void PepperPluginInstanceImpl::UnregisterMessageHandler(PP_Instance instance) { |
+ // Not supported in-process. |
+ NOTIMPLEMENTED(); |
+} |
+ |
base::string16 PepperPluginInstanceImpl::GetSelectedText(bool html) { |
// Keep a reference on the stack. See NOTE above. |
scoped_refptr<PepperPluginInstanceImpl> ref(this); |