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

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

Issue 2174203002: OnDrawHardware() implementation with async messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added DemandDrawHwAsync to TestSynchronousCompositor Created 4 years, 3 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_client.h
diff --git a/content/public/browser/android/synchronous_compositor_client.h b/content/public/browser/android/synchronous_compositor_client.h
index cbe47ebc0572759d452f75c05a312327696826d5..fe4e41caa54c68afff35466a0643c7f79623995d 100644
--- a/content/public/browser/android/synchronous_compositor_client.h
+++ b/content/public/browser/android/synchronous_compositor_client.h
@@ -55,6 +55,9 @@ class SynchronousCompositorClient {
virtual ui::TouchHandleDrawable* CreateDrawable() = 0;
+ virtual void OnDrawHardwareProcessFrame(
+ content::SynchronousCompositor::Frame frame) = 0;
+
protected:
SynchronousCompositorClient() {}
virtual ~SynchronousCompositorClient() {}

Powered by Google App Engine
This is Rietveld 408576698