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

Unified Diff: cc/test/fake_external_begin_frame_source.h

Issue 2238693002: Plumb SetVisible from ui::Compositor to the DirectRenderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: setvisible-browser: . Created 4 years, 4 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/fake_external_begin_frame_source.h
diff --git a/cc/test/fake_external_begin_frame_source.h b/cc/test/fake_external_begin_frame_source.h
index 5839024d3a358681853640bd087eda609a9522db..a1285bef9c82daad521c836144aab84c9edcaf7f 100644
--- a/cc/test/fake_external_begin_frame_source.h
+++ b/cc/test/fake_external_begin_frame_source.h
@@ -38,6 +38,8 @@ class FakeExternalBeginFrameSource
void TestOnBeginFrame(const BeginFrameArgs& args);
+ size_t num_observers() const { return observers_.size(); }
+
private:
void PostTestOnBeginFrame();

Powered by Google App Engine
This is Rietveld 408576698