Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index ab5fe3a83dac37cdc7029b3a7a0225ad82e66dce..450de9f7df4ce64f1da129aa980a01c0c7e6b8b2 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -576,6 +576,7 @@ bool WebContentsImpl::OnMessageReceived(const IPC::Message& message) { |
IPC_MESSAGE_HANDLER(ViewHostMsg_EndColorChooser, OnEndColorChooser) |
IPC_MESSAGE_HANDLER(ViewHostMsg_SetSelectedColorInColorChooser, |
OnSetSelectedColorInColorChooser) |
+ IPC_MESSAGE_HANDLER(ViewHostMsg_PepperPluginHung, OnPepperPluginHung) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP_EX() |
@@ -1771,6 +1772,13 @@ void WebContentsImpl::OnSetSelectedColorInColorChooser(int color_chooser_id, |
color_chooser_->SetSelectedColor(color); |
} |
+void TabContents::OnPepperPluginHung(int plugin_child_id, |
+ const FilePath& path, |
+ bool is_hung) { |
+ if (delegate_) |
+ delegate_->PluginHungStatusChanged(this, plugin_child_id, path, is_hung); |
+} |
+ |
// Notifies the RenderWidgetHost instance about the fact that the page is |
// loading, or done loading and calls the base implementation. |
void WebContentsImpl::SetIsLoading(bool is_loading, |