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

Unified Diff: cc/test/layer_tree_test.h

Issue 242783003: cc: Add testing stubs for proxy test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 7 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/test/layer_tree_test.h
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index e7d618badaeef5d84df7f1a16c6d937472103db0..a8190f91f88178f7447a050bfa732b757753ceb3 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -10,6 +10,7 @@
#include "cc/animation/animation_delegate.h"
#include "cc/trees/layer_tree_host.h"
#include "cc/trees/layer_tree_host_impl.h"
+#include "cc/trees/thread_proxy.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace Webkit {
@@ -178,6 +179,9 @@ class LayerTreeTest : public testing::Test, public TestHooks {
FakeOutputSurface* output_surface() { return output_surface_; }
int LastCommittedSourceFrameNumber(LayerTreeHostImpl* impl) const;
+ const ThreadProxy::MainThreadOnly& ThreadProxyMainOnly() const;
+ const ThreadProxy::CompositorThreadOnly& ThreadProxyImplOnly() const;
+
void DestroyLayerTreeHost();
// Override this for pixel tests, where you need a real output surface.
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/test/layer_tree_test.cc » ('j') | cc/test/layer_tree_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698