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

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

Issue 2434923002: Handle modified displays in mustash. (Closed)
Patch Set: Fix PlatformScreenStub for tests. Created 4 years, 2 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 4ee691ec6b22033906bfd4d90a2aa7632d9ff52a..7cb9b7fed3613726a7e150387281d246fa7f082f 100644
--- a/services/ui/public/cpp/tests/window_server_test_base.cc
+++ b/services/ui/public/cpp/tests/window_server_test_base.cc
@@ -159,6 +159,12 @@ void WindowServerTestBase::OnWmDisplayRemoved(Window* window) {
window_manager_delegate_->OnWmDisplayRemoved(window);
}
+void WindowServerTestBase::OnWmDisplayModified(
+ const display::Display& display) {
+ if (window_manager_delegate_)
+ window_manager_delegate_->OnWmDisplayModified(display);
+}
+
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