Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2254273003: Remove text encoding UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index e9b2d5f8961428a4d539cd7ef95536aec841b10d..2bf124da89d66f1bc0e603e0c428b1c411ac76f3 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2911,16 +2911,6 @@ bool WebContentsImpl::WillNotifyDisconnection() const {
return notify_disconnection_;
}
-void WebContentsImpl::SetOverrideEncoding(const std::string& encoding) {
- SetEncoding(encoding);
- Send(new ViewMsg_SetPageEncoding(GetRoutingID(), encoding));
-}
-
-void WebContentsImpl::ResetOverrideEncoding() {
- canonical_encoding_.clear();
- Send(new ViewMsg_ResetPageEncodingToDefault(GetRoutingID()));
no sievers 2016/08/29 23:54:53 What about removal of the msgs and the renderer-si
Jinsuk Kim 2016/08/30 01:08:22 Done.
-}
-
RendererPreferences* WebContentsImpl::GetMutableRendererPrefs() {
return &renderer_preferences_;
}

Powered by Google App Engine
This is Rietveld 408576698