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 73ec892268983fff97569251edaa6ef0b0b4d628..d58ad96af02571052105d846453dbd6191e5232b 100644 |
--- a/cc/trees/layer_tree_host_client.h |
+++ b/cc/trees/layer_tree_host_client.h |
@@ -8,6 +8,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/time/time.h" |
+#include "cc/base/cc_export.h" |
namespace gfx { |
class Vector2d; |
@@ -19,7 +20,7 @@ class InputHandlerClient; |
class OutputSurface; |
struct BeginFrameArgs; |
-class LayerTreeHostClient { |
+class CC_EXPORT LayerTreeHostClient { |
public: |
virtual void WillBeginMainFrame(int frame_id) = 0; |
// Marks finishing compositing-related tasks on the main thread. In threaded |
@@ -34,11 +35,14 @@ class LayerTreeHostClient { |
// create an OutputSurface that is guaranteed to initialize correctly. |
virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) = 0; |
virtual void DidInitializeOutputSurface() = 0; |
+ virtual void DidLoseOutputSurface() = 0; |
virtual void WillCommit() = 0; |
virtual void DidCommit() = 0; |
virtual void DidCommitAndDrawFrame() = 0; |
virtual void DidCompleteSwapBuffers() = 0; |
+ virtual void SendBeginFrameToChildren(const BeginFrameArgs& args); |
+ |
// Requests that the client insert a rate limiting token in the shared main |
// thread context's command stream that will block if the context gets too far |
// ahead of the compositor's command stream. Only needed if the tree contains |