Index: cc/test/layer_tree_test.h |
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h |
index 4e38ae6bb6b094b8d7a3793f2282a57bb139aba9..d4e40b2d9e5b05b6e67afc580f77a48df561c0f5 100644 |
--- a/cc/test/layer_tree_test.h |
+++ b/cc/test/layer_tree_test.h |
@@ -8,6 +8,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/threading/thread.h" |
#include "cc/animation/animation_delegate.h" |
+#include "cc/scheduler/begin_frame_source.h" |
#include "cc/trees/layer_tree_host.h" |
#include "cc/trees/layer_tree_host_impl.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -200,6 +201,9 @@ class LayerTreeTest : public testing::Test, public TestHooks { |
bool delegating_renderer() const { return delegating_renderer_; } |
FakeOutputSurface* output_surface() { return output_surface_; } |
int LastCommittedSourceFrameNumber(LayerTreeHostImpl* impl) const; |
+ ProxyBeginFrameSource* proxy_begin_frame_source() const { |
+ return proxy_begin_frame_source_.get(); |
+ } |
void DestroyLayerTreeHost(); |
@@ -218,6 +222,7 @@ class LayerTreeTest : public testing::Test, public TestHooks { |
scoped_ptr<LayerTreeHost> layer_tree_host_; |
FakeOutputSurface* output_surface_; |
FakeExternalBeginFrameSource* external_begin_frame_source_; |
+ scoped_ptr<ProxyBeginFrameSource> proxy_begin_frame_source_; |
bool beginning_; |
bool end_when_begin_returns_; |