Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 59343cf0b87a57494012857cfe3f341a1100cd2f..ff475581125e6d81efd4e3e31520d53b0d153add 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -1296,8 +1296,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, |
@@ -1375,14 +1373,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) |
@@ -1629,14 +1619,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) { |