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

Unified Diff: services/ui/public/cpp/tests/window_server_test_base.h

Issue 2438193003: Migrate WindowServerTestBase to be a WM client. (Closed)
Patch Set: 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 | « no previous file | services/ui/public/cpp/tests/window_server_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/tests/window_server_test_base.h
diff --git a/services/ui/public/cpp/tests/window_server_test_base.h b/services/ui/public/cpp/tests/window_server_test_base.h
index b8c3ba41ba01f61403e7bb853fbb86baa4a696fe..677ccc59bc882333e45685bfb418c98e6aa4a63b 100644
--- a/services/ui/public/cpp/tests/window_server_test_base.h
+++ b/services/ui/public/cpp/tests/window_server_test_base.h
@@ -14,7 +14,6 @@
#include "services/ui/public/cpp/window_manager_delegate.h"
#include "services/ui/public/cpp/window_tree_client_delegate.h"
#include "services/ui/public/interfaces/window_tree.mojom.h"
-#include "services/ui/public/interfaces/window_tree_host.mojom.h"
namespace ui {
@@ -51,11 +50,6 @@ class WindowServerTestBase
}
protected:
- mojom::WindowTreeHost* host() { return host_.get(); }
- WindowTreeClient* most_recent_client() {
- return most_recent_client_;
- }
-
void set_window_manager_delegate(WindowManagerDelegate* delegate) {
window_manager_delegate_ = delegate;
}
@@ -103,13 +97,7 @@ class WindowServerTestBase
void Create(const service_manager::Identity& remote_identity,
mojo::InterfaceRequest<mojom::WindowTreeClient> request) override;
- // Used to receive the most recent window tree client loaded by an embed
- // action.
- WindowTreeClient* most_recent_client_;
-
private:
- mojom::WindowTreeHostPtr host_;
-
std::set<std::unique_ptr<WindowTreeClient>> window_tree_clients_;
// The window server connection held by the window manager (app running at
« no previous file with comments | « no previous file | services/ui/public/cpp/tests/window_server_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698