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

Unified Diff: services/ui/ws/test_utils.cc

Issue 2503923003: Demonstrate external-window-mode in mus-demo (Closed)
Patch Set: Determine external window mode in mus-ws based on if a WM is connected Created 4 years, 1 month 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/ws/test_utils.cc
diff --git a/services/ui/ws/test_utils.cc b/services/ui/ws/test_utils.cc
index cb4d7e45d86cbcc18e698e8571dae72119076495..a4f2786caaa8cf219edfdfdc99d75be33654301d 100644
--- a/services/ui/ws/test_utils.cc
+++ b/services/ui/ws/test_utils.cc
@@ -128,7 +128,8 @@ void TestPlatformScreen::RemoveDisplay(int64_t id) {
display_ids_.erase(id);
}
-void TestPlatformScreen::Init(display::PlatformScreenDelegate* delegate) {
+void TestPlatformScreen::Init(display::PlatformScreenDelegate* delegate,
+ bool external_window_mode) {
// Reset
delegate_ = delegate;
display_ids_.clear();
@@ -450,7 +451,8 @@ mojom::WindowTreeClient* TestWindowTreeBinding::CreateClientForShutdown() {
TestWindowServerDelegate::TestWindowServerDelegate() {}
TestWindowServerDelegate::~TestWindowServerDelegate() {}
-void TestWindowServerDelegate::StartDisplayInit() {}
+void TestWindowServerDelegate::StartDisplayInit(bool window_manager_connected) {
+}
void TestWindowServerDelegate::OnNoMoreDisplays() {
got_on_no_more_displays_ = true;

Powered by Google App Engine
This is Rietveld 408576698