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

Unified Diff: cc/trees/layer_tree.h

Issue 2323423002: cc: Add SwapPromiseManager and SurfaceSequenceGenerator. (Closed)
Patch Set: 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: cc/trees/layer_tree.h
diff --git a/cc/trees/layer_tree.h b/cc/trees/layer_tree.h
index e731d4b1c9d900dddb3c53b791a39a2b4652b629..06e95458e8a63b7ddb0a8387a39d179196e3d3f2 100644
--- a/cc/trees/layer_tree.h
+++ b/cc/trees/layer_tree.h
@@ -38,6 +38,8 @@ class Layer;
class LayerTreeHost;
class LayerTreeImpl;
struct PendingPageScaleAnimation;
+class SwapPromiseManager;
+class SurfaceSequenceGenerator;
class CC_EXPORT LayerTree : public MutatorHostClient {
public:
@@ -120,6 +122,9 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
void SetNeedsDisplayOnAllLayers();
+ SwapPromiseManager* GetSwapPromiseManager() const;
+ SurfaceSequenceGenerator* GetSurfaceSequenceGenerator() const;
+
// Methods which should only be used internally in cc ------------------
void RegisterLayer(Layer* layer);
void UnregisterLayer(Layer* layer);

Powered by Google App Engine
This is Rietveld 408576698