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

Unified Diff: services/ui/surfaces/display_compositor.cc

Issue 2193293004: cc: Make LayerTreeTests use a DelegatingRenderer and Display. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: display-layertreetest: withperftestsfix 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
« no previous file with comments | « services/ui/surfaces/display_compositor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/display_compositor.cc
diff --git a/services/ui/surfaces/display_compositor.cc b/services/ui/surfaces/display_compositor.cc
index 1f38c4f88c6a5ea8f1dff4bf31bdc86da51b3db0..5cb51a19d13c6a272473408d3871c82933739c21 100644
--- a/services/ui/surfaces/display_compositor.cc
+++ b/services/ui/surfaces/display_compositor.cc
@@ -121,4 +121,16 @@ void DisplayCompositor::DisplayOutputSurfaceLost() {
void DisplayCompositor::DisplaySetMemoryPolicy(
const cc::ManagedMemoryPolicy& policy) {}
+void DisplayCompositor::DisplayWillDrawAndSwap(
+ bool will_draw_and_swap,
+ const cc::RenderPassList& render_passes) {
+ // This notification is not relevant to our client outside of tests.
+}
+
+void DisplayCompositor::DisplayDidDrawAndSwap() {
+ // This notification is not relevant to our client outside of tests. We
+ // unblock the client from the DrawCallback when the surface is going to
+ // be drawn.
+}
+
} // namespace ui
« no previous file with comments | « services/ui/surfaces/display_compositor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698