Index: content/shell/webkit_test_runner.cc |
diff --git a/content/shell/webkit_test_runner.cc b/content/shell/webkit_test_runner.cc |
index 098afdf1a534b0fad25321f4567aecb601cd3fbf..3fde49b03c825f896e344b7227435f25fc3f4610 100644 |
--- a/content/shell/webkit_test_runner.cc |
+++ b/content/shell/webkit_test_runner.cc |
@@ -328,6 +328,12 @@ void WebKitTestRunner::EvaluateInWebInspector(int32_t call_id, |
agent->evaluateInWebInspector(call_id, WebString::fromUTF8(script)); |
} |
+void WebKitTestRunner::ExecCommand(const std::string& command, |
+ const std::string& value) { |
+ render_view()->GetWebView()->focusedFrame()->executeCommand( |
+ WebString::fromUTF8(command), WebString::fromUTF8(value)); |
+} |
+ |
void WebKitTestRunner::NotImplemented(const std::string& object, |
const std::string& method) { |
Send(new ShellViewHostMsg_NotImplemented(routing_id(), object, method)); |