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

Unified Diff: cc/test/test_hooks.h

Issue 2445553002: cc: Make OutputSurface entirely live on one thread in tests. (Closed)
Patch Set: osonthread: fixcontextdeleteintest Created 4 years, 2 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
« no previous file with comments | « cc/test/test_compositor_frame_sink.cc ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_hooks.h
diff --git a/cc/test/test_hooks.h b/cc/test/test_hooks.h
index 61f6f82a7a71253ba6e5c5681c337a20e80771b9..3c947b70f25baebdf32aeb3cc399f7ceee6891c6 100644
--- a/cc/test/test_hooks.h
+++ b/cc/test/test_hooks.h
@@ -113,7 +113,11 @@ class TestHooks : public AnimationDelegate {
std::unique_ptr<AnimationCurve> curve) override {
}
+ // OutputSurface indirections to the LayerTreeTest, that can be further
+ // overridden.
virtual void RequestNewCompositorFrameSink() = 0;
+ virtual std::unique_ptr<OutputSurface> CreateDisplayOutputSurfaceOnThread(
+ scoped_refptr<ContextProvider> compositor_context_provider) = 0;
};
} // namespace cc
« no previous file with comments | « cc/test/test_compositor_frame_sink.cc ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698