| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index 933922495a0985c92a962d90a435c3cae97b7586..ba82143893739a89ff4d2d57c5302a3d9d70c934 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -1314,9 +1314,6 @@ bool RenderViewImpl::OnMessageReceived(const IPC::Message& message) {
|
| IPC_MESSAGE_HANDLER(ViewMsg_Zoom, OnZoom)
|
| IPC_MESSAGE_HANDLER(ViewMsg_SetZoomLevelForLoadingURL,
|
| OnSetZoomLevelForLoadingURL)
|
| - IPC_MESSAGE_HANDLER(ViewMsg_SetPageEncoding, OnSetPageEncoding)
|
| - IPC_MESSAGE_HANDLER(ViewMsg_ResetPageEncodingToDefault,
|
| - OnResetPageEncodingToDefault)
|
| IPC_MESSAGE_HANDLER(DragMsg_TargetDragEnter, OnDragTargetDragEnter)
|
| IPC_MESSAGE_HANDLER(DragMsg_TargetDragOver, OnDragTargetDragOver)
|
| IPC_MESSAGE_HANDLER(DragMsg_TargetDragLeave, OnDragTargetDragLeave)
|
| @@ -2300,15 +2297,6 @@ void RenderViewImpl::OnSetZoomLevel(
|
| SetZoomLevel(zoom_level);
|
| }
|
|
|
| -void RenderViewImpl::OnSetPageEncoding(const std::string& encoding_name) {
|
| - webview()->setPageEncoding(WebString::fromUTF8(encoding_name));
|
| -}
|
| -
|
| -void RenderViewImpl::OnResetPageEncodingToDefault() {
|
| - WebString no_encoding;
|
| - webview()->setPageEncoding(no_encoding);
|
| -}
|
| -
|
| void RenderViewImpl::OnAllowBindings(int enabled_bindings_flags) {
|
| if ((enabled_bindings_flags & BINDINGS_POLICY_WEB_UI) &&
|
| !(enabled_bindings_ & BINDINGS_POLICY_WEB_UI)) {
|
|
|