| Index: content/browser/renderer_host/render_view_host.cc
|
| diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
|
| index 07f2ceb4a9f3d759eaa50427c24b114c056799ab..1ee71b1c6285e213dfe6ef2151a25eedb49f4dd8 100644
|
| --- a/content/browser/renderer_host/render_view_host.cc
|
| +++ b/content/browser/renderer_host/render_view_host.cc
|
| @@ -589,15 +589,6 @@ void RenderViewHost::JavaScriptMessageBoxClosed(IPC::Message* reply_msg,
|
| delegate_->RendererUnresponsive(this, is_waiting);
|
| }
|
|
|
| -void RenderViewHost::ModalHTMLDialogClosed(IPC::Message* reply_msg,
|
| - const std::string& json_retval) {
|
| - if (is_waiting_for_beforeunload_ack_ || is_waiting_for_unload_ack_)
|
| - StartHangMonitorTimeout(TimeDelta::FromMilliseconds(kUnloadTimeoutMS));
|
| -
|
| - ViewHostMsg_ShowModalHTMLDialog::WriteReplyParams(reply_msg, json_retval);
|
| - Send(reply_msg);
|
| -}
|
| -
|
| void RenderViewHost::CopyImageAt(int x, int y) {
|
| Send(new ViewMsg_CopyImageAt(routing_id(), x, y));
|
| }
|
| @@ -771,8 +762,6 @@ bool RenderViewHost::OnMessageReceived(const IPC::Message& msg) {
|
| OnMsgRunJavaScriptMessage)
|
| IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_RunBeforeUnloadConfirm,
|
| OnMsgRunBeforeUnloadConfirm)
|
| - IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ShowModalHTMLDialog,
|
| - OnMsgShowModalHTMLDialog)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_StartDragging, OnMsgStartDragging)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateDragCursor, OnUpdateDragCursor)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_TakeFocus, OnTakeFocus)
|
| @@ -1236,13 +1225,6 @@ void RenderViewHost::OnMsgRunBeforeUnloadConfirm(const GURL& frame_url,
|
| delegate_->RunBeforeUnloadConfirm(message, reply_msg);
|
| }
|
|
|
| -void RenderViewHost::OnMsgShowModalHTMLDialog(
|
| - const GURL& url, int width, int height, const std::string& json_arguments,
|
| - IPC::Message* reply_msg) {
|
| - StopHangMonitorTimeout();
|
| - delegate_->ShowModalHTMLDialog(url, width, height, json_arguments, reply_msg);
|
| -}
|
| -
|
| void RenderViewHost::MediaPlayerActionAt(const gfx::Point& location,
|
| const WebMediaPlayerAction& action) {
|
| // TODO(ajwong): Which thread should run this? Does it matter?
|
|
|