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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 25878003: [Android WebView] Add an API to control favicon loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 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: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index 08f191d513f4c3a7499013fea7582c4cb99b182b..263ef15ab783ebb3fca133594b80f35c4bce3194 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -692,6 +692,10 @@ public class AwContents {
return nativeGetAwDrawGLFunction();
}
+ public static void setShouldDownloadFavicons() {
+ nativeSetShouldDownloadFavicons();
+ }
+
/**
* Intended for test code.
* @return the number of native instances of this class.
@@ -1941,6 +1945,7 @@ public class AwContents {
private static native void nativeSetAwDrawGLFunctionTable(int functionTablePointer);
private static native int nativeGetAwDrawGLFunction();
private static native int nativeGetNativeInstanceCount();
+ private static native void nativeSetShouldDownloadFavicons();
private native void nativeSetJavaPeers(int nativeAwContents, AwContents awContents,
AwWebContentsDelegate webViewWebContentsDelegate,
AwContentsClientBridge contentsClientBridge,

Powered by Google App Engine
This is Rietveld 408576698