Index: content/browser/tab_contents/tab_contents.cc |
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc |
index bbaf198467c9f2d263c5a34c6b74d22186301798..32ae8269b12228e59d5c1c20be9d72770f009ec0 100644 |
--- a/content/browser/tab_contents/tab_contents.cc |
+++ b/content/browser/tab_contents/tab_contents.cc |
@@ -572,6 +572,7 @@ bool TabContents::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() |
@@ -1761,6 +1762,13 @@ void TabContents::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 TabContents::SetIsLoading(bool is_loading, |