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

Unified Diff: android_webview/native/aw_contents_statics.cc

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
Index: android_webview/native/aw_contents_statics.cc
diff --git a/android_webview/native/aw_contents_statics.cc b/android_webview/native/aw_contents_statics.cc
index 95e5549af95644792f4a53a7dbcbb2214f0bb79d..3f2ab86dca61ffafdc45ca19ee28a07b50dd706a 100644
--- a/android_webview/native/aw_contents_statics.cc
+++ b/android_webview/native/aw_contents_statics.cc
@@ -9,6 +9,7 @@
#include "base/android/scoped_java_ref.h"
#include "base/callback.h"
#include "components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h"
+#include "content/public/browser/android/synchronous_compositor.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/common/url_constants.h"
#include "jni/AwContentsStatics_jni.h"
@@ -73,6 +74,11 @@ jstring GetUnreachableWebDataUrl(JNIEnv* env, jclass) {
env, content::kUnreachableWebDataURL).Release();
}
+// static
+void SetRecordFullDocument(JNIEnv* env, jclass, jboolean record_full_document) {
+ content::SynchronousCompositor::SetRecordFullDocument(record_full_document);
+}
+
bool RegisterAwContentsStatics(JNIEnv* env) {
return RegisterNativesImpl(env);
}
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | content/browser/android/in_process/synchronous_compositor_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698