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

Side by Side Diff: components/mus/public/cpp/tests/window_server_test_base.h

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ 6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "components/mus/public/cpp/window_tree_delegate.h" 10 #include "components/mus/public/cpp/window_tree_delegate.h"
11 #include "components/mus/public/interfaces/window_tree.mojom.h" 11 #include "components/mus/public/interfaces/window_tree.mojom.h"
12 #include "components/mus/public/interfaces/window_tree_host.mojom.h" 12 #include "components/mus/public/interfaces/window_tree_host.mojom.h"
13 #include "mojo/application/public/cpp/application_delegate.h" 13 #include "mojo/shell/public/cpp/application_delegate.h"
14 #include "mojo/application/public/cpp/application_test_base.h" 14 #include "mojo/shell/public/cpp/application_test_base.h"
15 #include "mojo/application/public/cpp/interface_factory.h" 15 #include "mojo/shell/public/cpp/interface_factory.h"
16 16
17 namespace mus { 17 namespace mus {
18 18
19 // WindowServerTestBase is a base class for use with app tests that use 19 // WindowServerTestBase is a base class for use with app tests that use
20 // WindowServer. SetUp() connects to the WindowServer and blocks until OnEmbed() 20 // WindowServer. SetUp() connects to the WindowServer and blocks until OnEmbed()
21 // has been invoked. window_manager() can be used to access the WindowServer 21 // has been invoked. window_manager() can be used to access the WindowServer
22 // established as part of SetUp(). 22 // established as part of SetUp().
23 class WindowServerTestBase 23 class WindowServerTestBase
24 : public mojo::test::ApplicationTestBase, 24 : public mojo::test::ApplicationTestBase,
25 public mojo::ApplicationDelegate, 25 public mojo::ApplicationDelegate,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 WindowTreeConnection* window_manager_; 82 WindowTreeConnection* window_manager_;
83 83
84 bool window_tree_connection_destroyed_; 84 bool window_tree_connection_destroyed_;
85 85
86 MOJO_DISALLOW_COPY_AND_ASSIGN(WindowServerTestBase); 86 MOJO_DISALLOW_COPY_AND_ASSIGN(WindowServerTestBase);
87 }; 87 };
88 88
89 } // namespace mus 89 } // namespace mus
90 90
91 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ 91 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_
OLDNEW
« no previous file with comments | « components/mus/public/cpp/tests/BUILD.gn ('k') | components/mus/public/cpp/tests/window_server_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698