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

Unified Diff: ash/mus/test/wm_test_helper.cc

Issue 2434463004: mash: Move directly linked NewWindowDelegate to mojom::NewWindowClient. (Closed)
Patch Set: Rebase to ToT 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
« no previous file with comments | « ash/mus/shell_delegate_mus.cc ('k') | ash/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/test/wm_test_helper.cc
diff --git a/ash/mus/test/wm_test_helper.cc b/ash/mus/test/wm_test_helper.cc
index 12a79528603f9824ba73be8b944b7b3b0fb17a6a..9f0456e3af20061cb1be82dbe651abb6eb4e02d5 100644
--- a/ash/mus/test/wm_test_helper.cc
+++ b/ash/mus/test/wm_test_helper.cc
@@ -6,6 +6,7 @@
#include "ash/common/material_design/material_design_controller.h"
#include "ash/common/test/material_design_controller_test_api.h"
+#include "ash/common/test/test_new_window_client.h"
#include "ash/common/test/test_system_tray_delegate.h"
#include "ash/common/test/wm_shell_test_api.h"
#include "ash/common/wm_shell.h"
@@ -110,6 +111,7 @@ void WmTestHelper::Init() {
// create the various test delegates.
WmShellTestApi().SetSystemTrayDelegate(
base::MakeUnique<test::TestSystemTrayDelegate>());
+ WmShellTestApi().SetNewWindowClient(base::MakeUnique<TestNewWindowClient>());
ui::WindowTreeClient* window_tree_client =
window_manager_app_->window_manager()->window_tree_client();
« no previous file with comments | « ash/mus/shell_delegate_mus.cc ('k') | ash/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698