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

Side by Side Diff: ui/aura/test/mus/test_window_tree.h

Issue 2454973003: Wires up modality for aura-mus (Closed)
Patch Set: more tests 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_client_unittest.cc ('k') | ui/aura/test/mus/test_window_tree.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
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_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_tree_client_unittest.cc ('k') | ui/aura/test/mus/test_window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698