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

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

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/common/test/test_new_window_client.cc ('k') | ash/common/test/wm_shell_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/test/wm_shell_test_api.h
diff --git a/ash/common/test/wm_shell_test_api.h b/ash/common/test/wm_shell_test_api.h
index 07ab6fff2e916e0978fb233de0b52d38f41418fb..1e46ba94a3b48e58ac3296088afe60295fad96dd 100644
--- a/ash/common/test/wm_shell_test_api.h
+++ b/ash/common/test/wm_shell_test_api.h
@@ -13,6 +13,10 @@ namespace ash {
class SystemTrayDelegate;
+namespace mojom {
+class NewWindowClient;
+}
+
// Test API to access the internal state of the singleton WmShell.
class WmShellTestApi {
public:
@@ -21,6 +25,8 @@ class WmShellTestApi {
void SetSystemTrayDelegate(std::unique_ptr<SystemTrayDelegate> delegate);
+ void SetNewWindowClient(std::unique_ptr<mojom::NewWindowClient> client);
+
private:
DISALLOW_COPY_AND_ASSIGN(WmShellTestApi);
};
« no previous file with comments | « ash/common/test/test_new_window_client.cc ('k') | ash/common/test/wm_shell_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698