OLD | NEW |
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_TEST_WINDOW_TREE_H_ | 5 #ifndef SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 6 #define SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "components/mus/public/interfaces/window_tree.mojom.h" | 13 #include "services/ui/public/interfaces/window_tree.mojom.h" |
14 | 14 |
15 namespace mus { | 15 namespace mus { |
16 | 16 |
17 // Testing WindowTree implementation. | 17 // Testing WindowTree implementation. |
18 class TestWindowTree : public mojom::WindowTree { | 18 class TestWindowTree : public mojom::WindowTree { |
19 public: | 19 public: |
20 TestWindowTree(); | 20 TestWindowTree(); |
21 ~TestWindowTree() override; | 21 ~TestWindowTree() override; |
22 | 22 |
23 // Returns the most recent change_id supplied to one of the WindowTree | 23 // Returns the most recent change_id supplied to one of the WindowTree |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 bool got_change_; | 104 bool got_change_; |
105 uint32_t change_id_; | 105 uint32_t change_id_; |
106 std::set<uint32_t> acked_events_; | 106 std::set<uint32_t> acked_events_; |
107 uint32_t window_id_; | 107 uint32_t window_id_; |
108 | 108 |
109 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 109 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
110 }; | 110 }; |
111 | 111 |
112 } // namespace mus | 112 } // namespace mus |
113 | 113 |
114 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 114 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
OLD | NEW |