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

Unified Diff: cc/surfaces/display_client.h

Issue 1821863002: Hook up ui::Compositor to Display's BeginFrameSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit test compilation 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: cc/surfaces/display_client.h
diff --git a/cc/surfaces/display_client.h b/cc/surfaces/display_client.h
index 61ea4d39970e79678e433eb8da6a784bdd5fe4c5..ff9c43741e5b9ded064c611784b7f68a8db85442 100644
--- a/cc/surfaces/display_client.h
+++ b/cc/surfaces/display_client.h
@@ -10,6 +10,7 @@
namespace cc {
+class BeginFrameSource;
struct ManagedMemoryPolicy;
class DisplayClient {
@@ -18,6 +19,8 @@ class DisplayClient {
base::TimeDelta interval) = 0;
virtual void OutputSurfaceLost() = 0;
virtual void SetMemoryPolicy(const ManagedMemoryPolicy& policy) = 0;
+ // This must be non-null and always the same.
enne (OOO) 2016/03/22 21:05:18 This has to always the same because the SurfaceDis
+ virtual BeginFrameSource* BeginFrameSourceForChildren() = 0;
protected:
virtual ~DisplayClient() {}

Powered by Google App Engine
This is Rietveld 408576698