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

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

Issue 2645093003: [WIP] ScreenManager: Add an external window mode (Closed)
Patch Set: Created 3 years, 11 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/ws/test_utils.cc
diff --git a/services/ui/ws/test_utils.cc b/services/ui/ws/test_utils.cc
index 38df6fa8d054985a91b2e1c85346371230ae3adb..33e11b91e52d2948712dd13537bcd7f0c9ebce32 100644
--- a/services/ui/ws/test_utils.cc
+++ b/services/ui/ws/test_utils.cc
@@ -127,7 +127,8 @@ void TestScreenManager::RemoveDisplay(int64_t id) {
display_ids_.erase(id);
}
-void TestScreenManager::Init(display::ScreenManagerDelegate* delegate) {
+void TestScreenManager::Init(display::ScreenManagerDelegate* delegate,
+ WindowMode window_mode) {
// Reset
delegate_ = delegate;
display_ids_.clear();
@@ -455,7 +456,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