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

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

Issue 14888002: Android WebView Merged-Thread Hardware Draw (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 7 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/renderer/android/synchronous_compositor_client.h
diff --git a/content/public/renderer/android/synchronous_compositor_client.h b/content/public/renderer/android/synchronous_compositor_client.h
index dcbe09ad52c979083b95cebe1aab008a68ca8fb2..34b4d1b340c69e7cc8cb345152d147c4c1b35841 100644
--- a/content/public/renderer/android/synchronous_compositor_client.h
+++ b/content/public/renderer/android/synchronous_compositor_client.h
@@ -17,7 +17,12 @@ class SynchronousCompositorClient {
// SynchronousCompositor::SetClient(NULL) to release the back pointer.
virtual void DidDestroyCompositor(SynchronousCompositor* compositor) = 0;
- // TODO(joth): Add scroll getters and setters, and invalidations.
+ // TODO(joth): Add scroll getters and setters.
+
+ // When true, should periodically call
+ // SynchronousCompositorOutputSurface::DemandDrawHw. Note that this value
+ // can change inside DemandDrawHw call.
+ virtual void SetContinuousInvalidate(bool invalidate) = 0;
protected:
virtual ~SynchronousCompositorClient() {}

Powered by Google App Engine
This is Rietveld 408576698