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

Unified Diff: cc/test/test_compositor_frame_sink.h

Issue 2755573002: Add FrameGenerator Unit Tests (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | services/ui/ws/BUILD.gn » ('j') | services/ui/ws/frame_generator_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_compositor_frame_sink.h
diff --git a/cc/test/test_compositor_frame_sink.h b/cc/test/test_compositor_frame_sink.h
index 9d97bc9053d71471835afbc4dac0b4adb353a03e..995f1afa20c6cffb137b867f61ab7d095e3781d9 100644
--- a/cc/test/test_compositor_frame_sink.h
+++ b/cc/test/test_compositor_frame_sink.h
@@ -94,6 +94,8 @@ class TestCompositorFrameSink : public CompositorFrameSink,
const RenderPassList& render_passes) override;
void DisplayDidDrawAndSwap() override;
+ int numder_of_frames_submitted() { return numder_of_frames_submitted_; }
+
private:
// ExternalBeginFrameSource implementation.
void OnNeedsBeginFrames(bool needs_begin_frames) override;
« no previous file with comments | « no previous file | services/ui/ws/BUILD.gn » ('j') | services/ui/ws/frame_generator_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698