| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index 9ee512454437310d2947414c8002bcb3bbc8ca09..972e5dd213ab0a7a7d9ad39a04b768daae7e6e6a 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -1254,8 +1254,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,
|
| @@ -1333,14 +1331,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)
|
| @@ -1587,14 +1577,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) {
|
|
|