Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index bec4737e9b8adacf342f0a390c0b01a2665288c3..675bc4b0ef487756d58ec9d61c8b1c673cf25536 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -1282,8 +1282,6 @@ bool RenderViewImpl::OnMessageReceived(const IPC::Message& message) { |
OnScrollFocusedEditableNodeIntoRect) |
IPC_MESSAGE_HANDLER(InputMsg_SetEditCommandsForNextKeyEvent, |
OnSetEditCommandsForNextKeyEvent) |
- IPC_MESSAGE_HANDLER(ViewMsg_CopyImageAt, OnCopyImageAt) |
- IPC_MESSAGE_HANDLER(ViewMsg_SaveImageAt, OnSaveImageAt) |
IPC_MESSAGE_HANDLER(ViewMsg_SetPageScale, OnSetPageScale) |
IPC_MESSAGE_HANDLER(ViewMsg_Zoom, OnZoom) |
IPC_MESSAGE_HANDLER(ViewMsg_SetZoomLevelForLoadingURL, |
@@ -1360,14 +1358,6 @@ void RenderViewImpl::OnSelectWordAroundCaret() { |
input_handler_->set_handling_input_event(false); |
} |
-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) |
@@ -1614,14 +1604,6 @@ void RenderViewImpl::printPage(WebLocalFrame* frame) { |
PrintPage(frame, input_handler().handling_input_event())); |
} |
-void RenderViewImpl::saveImageFromDataURL(const blink::WebString& data_url) { |
- // Note: We should basically send GURL but we use size-limited string instead |
- // in order to send a larger data url to save a image for <canvas> or <img>. |
- if (data_url.length() < kMaxLengthOfDataURLString) |
- Send(new ViewHostMsg_SaveImageFromDataURL( |
- GetRoutingID(), GetMainRenderFrame()->GetRoutingID(), data_url.utf8())); |
-} |
- |
bool RenderViewImpl::enumerateChosenDirectory( |
const WebString& path, |
WebFileChooserCompletion* chooser_completion) { |