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

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

Issue 2651593002: mus: Remove the old client lib. (Closed)
Patch Set: restore test 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/public/cpp/tests/test_window_tree_client_setup.h
diff --git a/services/ui/public/cpp/tests/test_window_tree_client_setup.h b/services/ui/public/cpp/tests/test_window_tree_client_setup.h
deleted file mode 100644
index c2527aaa10171486dd3e2ee64d8483789fe596b5..0000000000000000000000000000000000000000
--- a/services/ui/public/cpp/tests/test_window_tree_client_setup.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_CLIENT_SETUP_H_
-#define SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_CLIENT_SETUP_H_
-
-#include <memory>
-
-#include "base/macros.h"
-
-namespace ui {
-
-class TestWindowTree;
-class WindowManagerDelegate;
-class WindowTreeClient;
-class WindowTreeClientDelegate;
-
-// TestWindowTreeClientSetup is used to create a WindowTreeClient that is not
-// connected to mus.
-class TestWindowTreeClientSetup {
- public:
- TestWindowTreeClientSetup();
- ~TestWindowTreeClientSetup();
-
- // Initializes the WindowTreeClient.
- void Init(WindowTreeClientDelegate* window_tree_delegate);
- void InitForWindowManager(WindowTreeClientDelegate* window_tree_delegate,
- WindowManagerDelegate* window_manager_delegate);
-
- // The WindowTree that WindowTreeClient talks to.
- TestWindowTree* window_tree() { return window_tree_.get(); }
-
- // Returns ownership of WindowTreeClient to the caller.
- std::unique_ptr<WindowTreeClient> OwnWindowTreeClient();
-
- WindowTreeClient* window_tree_client();
-
- private:
- // Called by both implementations of init to perform common initialization.
- void CommonInit(WindowTreeClientDelegate* window_tree_delegate,
- WindowManagerDelegate* window_manager_delegate);
-
- std::unique_ptr<TestWindowTree> window_tree_;
-
- std::unique_ptr<WindowTreeClient> window_tree_client_;
-
- DISALLOW_COPY_AND_ASSIGN(TestWindowTreeClientSetup);
-};
-
-} // namespace ui
-
-#endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_CLIENT_SETUP_H_
« no previous file with comments | « services/ui/public/cpp/tests/test_window_tree.cc ('k') | services/ui/public/cpp/tests/test_window_tree_client_setup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698