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

Side by Side Diff: ui/aura/test/aura_mus_test_base.h

Issue 2445163002: Make aura work with mus (Closed)
Patch Set: NON_EXPORTED_BASE_CLASS Created 4 years, 1 month 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
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.cc ('k') | ui/aura/test/aura_mus_test_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_AURA_TEST_AURA_MUS_TEST_BASE_H_
6 #define UI_AURA_TEST_AURA_MUS_TEST_BASE_H_
7
8 #include "base/macros.h"
9 #include "ui/aura/test/aura_test_base.h"
10
11 namespace aura {
12 namespace test {
13
14 // A base class for aura unit tests that use mus. You can also use AuraTestBase
15 // directly and call EnableMus() before SetUp(). Prefer this if you don't need
16 // to subclass and want to target mus.
17 //
18 // This test class sets up the connection to mus as the window manager.
19 class AuraMusWmTestBase : public AuraTestBase {
20 public:
21 AuraMusWmTestBase();
22 ~AuraMusWmTestBase() override;
23
24 // AuraTestBase:
25 void SetUp() override;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(AuraMusWmTestBase);
29 };
30
31 // A base class for aura unit tests that use mus. You can also use AuraTestBase
32 // directly and call EnableMus() before SetUp(). Prefer this if you don't need
33 // to subclass and want to target mus.
34 //
35 // This test class sets up the connection to mus as a normal client (not the
36 // window manager).
37 class AuraMusClientTestBase : public AuraTestBase {
38 public:
39 AuraMusClientTestBase();
40 ~AuraMusClientTestBase() override;
41
42 // AuraTestBase:
43 void SetUp() override;
44
45 private:
46 DISALLOW_COPY_AND_ASSIGN(AuraMusClientTestBase);
47 };
48
49 } // namespace test
50 } // namespace aura
51
52 #endif // UI_AURA_TEST_AURA_MUS_TEST_BASE_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.cc ('k') | ui/aura/test/aura_mus_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698