Index: cc/trees/layer_tree_host_client.h |
diff --git a/cc/trees/layer_tree_host_client.h b/cc/trees/layer_tree_host_client.h |
index 74dcbc0cff24631873737c4cdc42341e1051f4ed..e0ae97ea4383d2e211d32aa4551421bfe08b6ab8 100644 |
--- a/cc/trees/layer_tree_host_client.h |
+++ b/cc/trees/layer_tree_host_client.h |
@@ -17,6 +17,7 @@ namespace cc { |
class ContextProvider; |
class InputHandlerClient; |
class OutputSurface; |
+struct BeginFrameArgs; |
class LayerTreeHostClient { |
public: |
@@ -43,6 +44,10 @@ class LayerTreeHostClient { |
// a TextureLayer that calls SetRateLimitContext(true). |
virtual void RateLimitSharedMainThreadContext() {} |
+ // Change this to abstract method when all platforms are ready for unified |
+ // BeginFrame. |
+ virtual void SendBeginFrame(const BeginFrameArgs& args) {} |
brianderson
2014/08/21 00:13:59
Can you make the default implementation call NOT_R
simonhong
2014/08/26 08:24:48
Removed.
Scheduler will call BeginFrameManager::Se
|
+ |
// This hook is for testing. |
virtual void DidFailToInitializeOutputSurface() {} |