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

Unified Diff: cc/test/compositor_frame_helpers.h

Issue 2802023002: Remove SurfaceFactory And SurfaceFactoryClient (Closed)
Patch Set: Rebase SurfaceSynchronizationTest Created 3 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
« no previous file with comments | « cc/surfaces/surface_synchronization_unittest.cc ('k') | cc/test/compositor_frame_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/compositor_frame_helpers.h
diff --git a/cc/test/compositor_frame_helpers.h b/cc/test/compositor_frame_helpers.h
index c60de21ebdfc5f12f3517a87e2b7ce56ea60e5ec..32356e65d95dba9ef2efca041d24d4e3773cc0db 100644
--- a/cc/test/compositor_frame_helpers.h
+++ b/cc/test/compositor_frame_helpers.h
@@ -5,6 +5,11 @@
#ifndef CC_TEST_COMPOSITOR_FRAME_HELPERS_H_
#define CC_TEST_COMPOSITOR_FRAME_HELPERS_H_
+#include <vector>
+
+#include "cc/resources/transferable_resource.h"
+#include "cc/surfaces/surface_id.h"
+
namespace cc {
class CompositorFrame;
@@ -18,6 +23,11 @@ CompositorFrame MakeCompositorFrame();
// initialized.
CompositorFrame MakeEmptyCompositorFrame();
+CompositorFrame MakeCompositorFrame(
+ std::vector<SurfaceId> activation_dependencies,
+ std::vector<SurfaceId> referenced_surfaces,
+ TransferableResourceArray resource_list);
+
} // namespace test
} // namespace cc
« no previous file with comments | « cc/surfaces/surface_synchronization_unittest.cc ('k') | cc/test/compositor_frame_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698