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

Unified Diff: services/ui/public/cpp/tests/window_server_test_base.cc

Issue 2346253004: Makes display roots be destroyed by client (Closed)
Patch Set: cleanup Created 4 years, 3 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: services/ui/public/cpp/tests/window_server_test_base.cc
diff --git a/services/ui/public/cpp/tests/window_server_test_base.cc b/services/ui/public/cpp/tests/window_server_test_base.cc
index d92c129014639444156429dd01aad9f9b1de84b4..98c1d7208c7fa2bbd885a47d0bae83066fa2f965 100644
--- a/services/ui/public/cpp/tests/window_server_test_base.cc
+++ b/services/ui/public/cpp/tests/window_server_test_base.cc
@@ -153,6 +153,11 @@ void WindowServerTestBase::OnWmNewDisplay(Window* window,
window_manager_delegate_->OnWmNewDisplay(window, display);
}
+void WindowServerTestBase::OnWmDisplayRemoved(Window* window) {
+ if (window_manager_delegate_)
+ window_manager_delegate_->OnWmDisplayRemoved(window);
+}
+
void WindowServerTestBase::OnWmPerformMoveLoop(
Window* window,
mojom::MoveLoopSource source,
« no previous file with comments | « services/ui/public/cpp/tests/window_server_test_base.h ('k') | services/ui/public/cpp/window_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698