Send(new ShellViewHostMsg_ClearDevToolsLocalStorage(routing_id()));
}
-void WebKitTestRunner::showDevTools() {
- Send(new ShellViewHostMsg_ShowDevTools(routing_id()));
+void WebKitTestRunner::showDevTools(const std::string& settings) {
+ Send(new ShellViewHostMsg_ShowDevTools(routing_id(), settings));
}
void WebKitTestRunner::closeDevTools() {
void WebKitTestRunner::DidClearWindowObject(WebFrame* frame, int world_id) {
WebTestingSupport::injectInternalsObject(frame);
- ShellRenderProcessObserver::GetInstance()->test_interfaces()->bindTo(frame);
- if (world_id == 0)
+ if (world_id == 0) {
+ ShellRenderProcessObserver::GetInstance()->test_interfaces()->bindTo(frame);
GCController::Install(frame);
+ }
}
bool WebKitTestRunner::OnMessageReceived(const IPC::Message& message) {