| Index: content/shell/webkit_test_controller.cc
|
| diff --git a/content/shell/webkit_test_controller.cc b/content/shell/webkit_test_controller.cc
|
| index b4ca20e1fd2b49fd986caeba2666706a7eecdde4..b9458a732b41378ab7e429db4ef2c680b9648b72 100644
|
| --- a/content/shell/webkit_test_controller.cc
|
| +++ b/content/shell/webkit_test_controller.cc
|
| @@ -246,6 +246,9 @@ bool WebKitTestController::OnMessageReceived(const IPC::Message& message) {
|
| IPC_MESSAGE_HANDLER(ShellViewHostMsg_TestFinished, OnTestFinished)
|
| IPC_MESSAGE_HANDLER(ShellViewHostMsg_ShowDevTools, OnShowDevTools)
|
| IPC_MESSAGE_HANDLER(ShellViewHostMsg_CloseDevTools, OnCloseDevTools)
|
| + IPC_MESSAGE_HANDLER(ShellViewHostMsg_GoToOffset, OnGoToOffset)
|
| + IPC_MESSAGE_HANDLER(ShellViewHostMsg_Reload, OnReload)
|
| + IPC_MESSAGE_HANDLER(ShellViewHostMsg_LoadURLForFrame, OnLoadURLForFrame)
|
| IPC_MESSAGE_HANDLER(ShellViewHostMsg_NotImplemented, OnNotImplemented)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| @@ -399,6 +402,19 @@ void WebKitTestController::OnCloseDevTools() {
|
| main_window_->CloseDevTools();
|
| }
|
|
|
| +void WebKitTestController::OnGoToOffset(int offset) {
|
| + main_window_->GoBackOrForward(offset);
|
| +}
|
| +
|
| +void WebKitTestController::OnReload() {
|
| + main_window_->Reload();
|
| +}
|
| +
|
| +void WebKitTestController::OnLoadURLForFrame(const GURL& url,
|
| + const std::string& frame_name) {
|
| + main_window_->LoadURLForFrame(url, frame_name);
|
| +}
|
| +
|
| void WebKitTestController::OnNotImplemented(
|
| const std::string& object_name,
|
| const std::string& property_name) {
|
|
|