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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java

Issue 1894913002: Android: turn on auto-detect encoding by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 5 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/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
index 051ee7f4bfee5b5fbc4bdf60c6e20b25dc762f3c..99f0dbddd821aea740e014dd6aa66e6ab02f28f0 100644
--- a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
+++ b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
@@ -379,11 +379,6 @@ import java.util.UUID;
nativeStopMediaSession(mNativeWebContentsAndroid);
}
- @Override
- public String getEncoding() {
- return nativeGetEncoding(mNativeWebContentsAndroid);
- }
-
// root node can be null if parsing fails.
@CalledByNative
private static void onAccessibilitySnapshot(AccessibilitySnapshotNode root,
@@ -564,7 +559,6 @@ import java.util.UUID;
private native void nativeResumeMediaSession(long nativeWebContentsAndroid);
private native void nativeSuspendMediaSession(long nativeWebContentsAndroid);
private native void nativeStopMediaSession(long nativeWebContentsAndroid);
- private native String nativeGetEncoding(long nativeWebContentsAndroid);
private native void nativeGetContentBitmap(long nativeWebContentsAndroid,
ContentBitmapCallback callback, Bitmap.Config config, float scale,
float x, float y, float width, float height);

Powered by Google App Engine
This is Rietveld 408576698