Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 306b8ce1ffb9f72bca65c4f24ff7a3df9af10475..aa46518e7e2491bfc301f7adf366e0355b58ef8e 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -1094,6 +1094,7 @@ bool RenderViewImpl::OnMessageReceived(const IPC::Message& message) { |
IPC_MESSAGE_HANDLER(ViewMsg_Stop, OnStop) |
IPC_MESSAGE_HANDLER(ViewMsg_SetName, OnSetName) |
IPC_MESSAGE_HANDLER(ViewMsg_CopyImageAt, OnCopyImageAt) |
+ IPC_MESSAGE_HANDLER(ViewMsg_SaveImageAt, OnSaveImageAt) |
IPC_MESSAGE_HANDLER(ViewMsg_Find, OnFind) |
IPC_MESSAGE_HANDLER(ViewMsg_StopFinding, OnStopFinding) |
IPC_MESSAGE_HANDLER(ViewMsg_Zoom, OnZoom) |
@@ -1239,6 +1240,10 @@ void RenderViewImpl::OnCopyImageAt(int x, int y) { |
webview()->copyImageAt(WebPoint(x, y)); |
} |
+void RenderViewImpl::OnSaveImageAt(int x, int y) { |
+ webview()->saveImageAt(WebPoint(x, y)); |
+} |
+ |
void RenderViewImpl::OnUpdateTargetURLAck() { |
// Check if there is a targeturl waiting to be sent. |
if (target_url_status_ == TARGET_PENDING) { |