| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index 8430a1c00560bea56ae73f8cf7f93ca22969b570..f7a8df7e8c6e19507051e96161d10b46a9f5f456 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -1375,7 +1375,6 @@ bool RenderViewImpl::OnMessageReceived(const IPC::Message& message) {
|
| // TODO(viettrungluu): Move to a separate message filter.
|
| IPC_MESSAGE_HANDLER(ViewMsg_SetHistoryOffsetAndLength,
|
| OnSetHistoryOffsetAndLength)
|
| - IPC_MESSAGE_HANDLER(ViewMsg_EnableViewSourceMode, OnEnableViewSourceMode)
|
| IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupBitmap,
|
| OnReleaseDisambiguationPopupBitmap)
|
| IPC_MESSAGE_HANDLER(ViewMsg_ForceRedraw, OnForceRedraw)
|
| @@ -3255,15 +3254,6 @@ void RenderViewImpl::OnShowContextMenu(
|
| has_host_context_menu_location_ = false;
|
| }
|
|
|
| -void RenderViewImpl::OnEnableViewSourceMode() {
|
| - if (!webview())
|
| - return;
|
| - WebFrame* main_frame = webview()->mainFrame();
|
| - if (!main_frame)
|
| - return;
|
| - main_frame->enableViewSourceMode(true);
|
| -}
|
| -
|
| #if defined(OS_ANDROID) || defined(USE_AURA)
|
| bool RenderViewImpl::didTapMultipleTargets(
|
| const WebSize& inner_viewport_offset,
|
|
|