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

Unified Diff: content/public/browser/android/synchronous_compositor.h

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: content/public/browser/android/synchronous_compositor.h
diff --git a/content/public/browser/android/synchronous_compositor.h b/content/public/browser/android/synchronous_compositor.h
index 431e1e1cd7d28566e63f74a36bdb8db06742f32c..57fdb13825f89e4ae7625ed83b21bf95a5dd814d 100644
--- a/content/public/browser/android/synchronous_compositor.h
+++ b/content/public/browser/android/synchronous_compositor.h
@@ -94,6 +94,9 @@ class CONTENT_EXPORT SynchronousCompositor {
// starts off as inactive and needs a SetActive(true) call to begin.
virtual void SetIsActive(bool is_active) = 0;
+ // Synchronize all renderer state to UI thread. This blocks the UI thread.
+ virtual void SynchronizeWithRenderer() = 0;
+
// Called by the embedder to notify that the OnComputeScroll step is happening
// and if any input animation is active, it should tick now.
virtual void OnComputeScroll(base::TimeTicks animation_time) = 0;
« no previous file with comments | « content/common/android/sync_compositor_messages.h ('k') | content/public/test/test_synchronous_compositor_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698