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

Unified Diff: ash/common/test/wm_shell_test_api.cc

Issue 2434463004: mash: Move directly linked NewWindowDelegate to mojom::NewWindowClient. (Closed)
Patch Set: Actually rename the browser test. 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: ash/common/test/wm_shell_test_api.cc
diff --git a/ash/common/test/wm_shell_test_api.cc b/ash/common/test/wm_shell_test_api.cc
index 39305eaf885b3a2a08b839fb8c795b02124b8044..6bf303e355a9cdd6302fa4651f452d2c5ca5dbb3 100644
--- a/ash/common/test/wm_shell_test_api.cc
+++ b/ash/common/test/wm_shell_test_api.cc
@@ -6,6 +6,7 @@
#include "ash/common/system/tray/system_tray_delegate.h"
#include "ash/common/wm_shell.h"
+#include "ash/public/interfaces/new_window.mojom.h"
namespace ash {
@@ -18,4 +19,9 @@ void WmShellTestApi::SetSystemTrayDelegate(
WmShell::Get()->SetSystemTrayDelegate(std::move(delegate));
}
+void WmShellTestApi::SetNewWindowClient(
+ std::unique_ptr<mojom::NewWindowClient> client) {
+ WmShell::Get()->SetNewWindowClient(std::move(client));
James Cook 2016/10/21 22:22:30 Maybe directly access the member variable and get
Elliot Glaysher 2016/10/21 22:45:56 Done.
+}
+
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698