| 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 UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 5 #ifndef UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
| 6 #define UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 6 #define UI_AURA_TEST_MUS_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 "services/ui/public/interfaces/window_tree.mojom.h" | 13 #include "services/ui/public/interfaces/window_tree.mojom.h" |
| 14 | 14 |
| 15 namespace aura { | 15 namespace aura { |
| 16 | 16 |
| 17 enum class WindowTreeChangeType { | 17 enum class WindowTreeChangeType { |
| 18 BOUNDS, | 18 BOUNDS, |
| 19 // Used for both set and release capture. | 19 // Used for both set and release capture. |
| 20 CAPTURE, | 20 CAPTURE, |
| 21 FOCUS, | 21 FOCUS, |
| 22 MODAL, |
| 22 NEW_TOP_LEVEL, | 23 NEW_TOP_LEVEL, |
| 23 NEW_WINDOW, | 24 NEW_WINDOW, |
| 24 PROPERTY, | 25 PROPERTY, |
| 25 VISIBLE, | 26 VISIBLE, |
| 26 | 27 |
| 27 // This covers all cases that aren't used in tests. | 28 // This covers all cases that aren't used in tests. |
| 28 OTHER, | 29 OTHER, |
| 29 }; | 30 }; |
| 30 | 31 |
| 31 // WindowTree implementation for tests. TestWindowTree maintains a list of all | 32 // WindowTree implementation for tests. TestWindowTree maintains a list of all |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 ui::mojom::WindowTreeClient* client_; | 174 ui::mojom::WindowTreeClient* client_; |
| 174 | 175 |
| 175 mojo::Map<mojo::String, mojo::Array<uint8_t>> last_new_window_properties_; | 176 mojo::Map<mojo::String, mojo::Array<uint8_t>> last_new_window_properties_; |
| 176 | 177 |
| 177 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 178 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
| 178 }; | 179 }; |
| 179 | 180 |
| 180 } // namespace aura | 181 } // namespace aura |
| 181 | 182 |
| 182 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 183 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
| OLD | NEW |