Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: content/browser/renderer_host/render_view_host.cc

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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?
« no previous file with comments | « content/browser/renderer_host/render_view_host.h ('k') | content/browser/renderer_host/render_view_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698