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

Unified Diff: cc/surfaces/surface_observer.h

Issue 2854163003: [cc] Plumb BeginFrameAcks through SurfaceManager to DisplayScheduler. (Closed)
Patch Set: Track state per surface. Created 3 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: cc/surfaces/surface_observer.h
diff --git a/cc/surfaces/surface_observer.h b/cc/surfaces/surface_observer.h
index e1c182a45c50d99b91c1a6940dd96f160d95b42f..8e53bc5274020bc8a6705215bec9b93f7696cab6 100644
--- a/cc/surfaces/surface_observer.h
+++ b/cc/surfaces/surface_observer.h
@@ -18,6 +18,9 @@ class SurfaceObserver {
// Runs when a Surface is damaged. *changed should be set to true if this
// causes a Display to be damaged.
virtual void OnSurfaceDamaged(const SurfaceId& surface_id, bool* changed) = 0;
+
+ // Runs when the state of a Surface's CompositorFrame producer has changed.
+ virtual void OnSurfaceProducerStateChanged(const SurfaceId& surface_id) = 0;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698