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

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

Issue 406683003: aw: Expose record document as public api (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « android_webview/common/aw_switches.cc ('k') | android_webview/lib/main/aw_main_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java b/android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java
index 1d52ba8a638c231a767ca274ea83f4fab21a2384..aeec329e470b7f2e4df73c2cd9328fa0c77688c3 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java
@@ -70,6 +70,10 @@ public class AwContentsStatics {
return sUnreachableWebDataUrl;
}
+ public static void setRecordFullDocument(boolean recordFullDocument) {
+ nativeSetRecordFullDocument(recordFullDocument);
+ }
+
//--------------------------------------------------------------------------------------------
// Native methods
//--------------------------------------------------------------------------------------------
@@ -77,4 +81,5 @@ public class AwContentsStatics {
private static native void nativeSetDataReductionProxyKey(String key);
private static native void nativeSetDataReductionProxyEnabled(boolean enabled);
private static native String nativeGetUnreachableWebDataUrl();
+ private static native void nativeSetRecordFullDocument(boolean recordFullDocument);
}
« no previous file with comments | « android_webview/common/aw_switches.cc ('k') | android_webview/lib/main/aw_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698