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

Unified Diff: services/ui/test_wm/test_wm.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
« no previous file with comments | « services/ui/public/interfaces/window_manager.mojom ('k') | services/ui/ws/display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/test_wm/test_wm.cc
diff --git a/services/ui/test_wm/test_wm.cc b/services/ui/test_wm/test_wm.cc
index 08777c1306285046a33c3fbbce47d1426ac45aa0..037f78c6b5c295058bef69aed22914469f21940e 100644
--- a/services/ui/test_wm/test_wm.cc
+++ b/services/ui/test_wm/test_wm.cc
@@ -89,6 +89,7 @@ class TestWM : public shell::Service,
window_manager_client_->SetFrameDecorationValues(
std::move(frame_decoration_values));
}
+ void OnWmDisplayRemoved(ui::Window* window) override { window->Destroy(); }
void OnWmPerformMoveLoop(Window* window,
mojom::MoveLoopSource source,
const gfx::Point& cursor_location,
« no previous file with comments | « services/ui/public/interfaces/window_manager.mojom ('k') | services/ui/ws/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698