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

Unified Diff: components/mus/public/cpp/tests/window_server_test_base.cc

Issue 2072343002: Changes how window manager obtains WindowTree from mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include Created 4 years, 6 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: components/mus/public/cpp/tests/window_server_test_base.cc
diff --git a/components/mus/public/cpp/tests/window_server_test_base.cc b/components/mus/public/cpp/tests/window_server_test_base.cc
index 9770bbd20c2f83a94935e77355065eb3ce64b69c..93394f79e1c3dfe10e2a283435a0eff535e5e7a6 100644
--- a/components/mus/public/cpp/tests/window_server_test_base.cc
+++ b/components/mus/public/cpp/tests/window_server_test_base.cc
@@ -126,6 +126,12 @@ void WindowServerTestBase::OnWmClientJankinessChanged(
window_manager_delegate_->OnWmClientJankinessChanged(client_windows, janky);
}
+void WindowServerTestBase::OnWmNewDisplay(Window* window,
+ const display::Display& display) {
+ if (window_manager_delegate_)
+ window_manager_delegate_->OnWmNewDisplay(window, display);
+}
+
void WindowServerTestBase::OnAccelerator(uint32_t id, const ui::Event& event) {
if (window_manager_delegate_)
window_manager_delegate_->OnAccelerator(id, event);

Powered by Google App Engine
This is Rietveld 408576698