Index: content/shell/webkit_test_controller.cc |
diff --git a/content/shell/webkit_test_controller.cc b/content/shell/webkit_test_controller.cc |
index 4f604c32ac51a5b54441169901a7d80178393d9e..eaa7b12aa8894fabd5066542bdf8b4f0cd1cf969 100644 |
--- a/content/shell/webkit_test_controller.cc |
+++ b/content/shell/webkit_test_controller.cc |
@@ -309,6 +309,13 @@ void WebKitTestController::OpenURL(const GURL& url) { |
gfx::Size()); |
} |
+void WebKitTestController::TestFinishedInSecondaryWindow() { |
+ RenderViewHost* render_view_host = |
+ main_window_->web_contents()->GetRenderViewHost(); |
+ render_view_host->Send( |
+ new ShellViewMsg_NotifyDone(render_view_host->GetRoutingID())); |
+} |
+ |
bool WebKitTestController::OnMessageReceived(const IPC::Message& message) { |
DCHECK(CalledOnValidThread()); |
bool handled = true; |