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

Unified Diff: android_webview/native/aw_contents.cc

Issue 1846653003: android webview: Keep zoom methods synchronous (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ipc comments Created 4 years, 9 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.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index 935d643cdc210da27221537197577057727cd894..e4928070dec0e651eb3629d546a45dae57b346bd 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -1013,6 +1013,13 @@ void AwContents::SetBackgroundColor(JNIEnv* env,
render_view_host_ext_->SetBackgroundColor(color);
}
+void AwContents::SynchronizeRendererScroll(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj) {
+ DCHECK_CURRENTLY_ON(BrowserThread::UI);
+ browser_view_renderer_.SynchronizeRendererScroll();
+}
+
void AwContents::OnComputeScroll(JNIEnv* env,
const JavaParamRef<jobject>& obj,
jlong animation_time_millis) {
« no previous file with comments | « android_webview/native/aw_contents.h ('k') | content/browser/android/in_process/synchronous_compositor_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698