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

Side by Side Diff: services/ui/ws/window_tree_unittest.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
« no previous file with comments | « services/ui/ws/window_tree_host_factory.cc ('k') | testing/buildbot/gn_isolate_map.pyl » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "components/mus/ws/window_tree.h" 5 #include "services/ui/ws/window_tree.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "components/mus/common/types.h"
16 #include "components/mus/common/util.h"
17 #include "components/mus/public/interfaces/window_tree.mojom.h"
18 #include "components/mus/surfaces/surfaces_state.h"
19 #include "components/mus/ws/default_access_policy.h"
20 #include "components/mus/ws/display_binding.h"
21 #include "components/mus/ws/ids.h"
22 #include "components/mus/ws/platform_display.h"
23 #include "components/mus/ws/platform_display_factory.h"
24 #include "components/mus/ws/platform_display_init_params.h"
25 #include "components/mus/ws/server_window.h"
26 #include "components/mus/ws/server_window_surface_manager_test_api.h"
27 #include "components/mus/ws/test_change_tracker.h"
28 #include "components/mus/ws/test_server_window_delegate.h"
29 #include "components/mus/ws/test_utils.h"
30 #include "components/mus/ws/window_manager_access_policy.h"
31 #include "components/mus/ws/window_manager_display_root.h"
32 #include "components/mus/ws/window_server.h"
33 #include "components/mus/ws/window_server_delegate.h"
34 #include "components/mus/ws/window_tree_binding.h"
35 #include "services/shell/public/interfaces/connector.mojom.h" 15 #include "services/shell/public/interfaces/connector.mojom.h"
16 #include "services/ui/common/types.h"
17 #include "services/ui/common/util.h"
18 #include "services/ui/public/interfaces/window_tree.mojom.h"
19 #include "services/ui/surfaces/surfaces_state.h"
20 #include "services/ui/ws/default_access_policy.h"
21 #include "services/ui/ws/display_binding.h"
22 #include "services/ui/ws/ids.h"
23 #include "services/ui/ws/platform_display.h"
24 #include "services/ui/ws/platform_display_factory.h"
25 #include "services/ui/ws/platform_display_init_params.h"
26 #include "services/ui/ws/server_window.h"
27 #include "services/ui/ws/server_window_surface_manager_test_api.h"
28 #include "services/ui/ws/test_change_tracker.h"
29 #include "services/ui/ws/test_server_window_delegate.h"
30 #include "services/ui/ws/test_utils.h"
31 #include "services/ui/ws/window_manager_access_policy.h"
32 #include "services/ui/ws/window_manager_display_root.h"
33 #include "services/ui/ws/window_server.h"
34 #include "services/ui/ws/window_server_delegate.h"
35 #include "services/ui/ws/window_tree_binding.h"
36 #include "testing/gtest/include/gtest/gtest.h" 36 #include "testing/gtest/include/gtest/gtest.h"
37 #include "ui/events/event.h" 37 #include "ui/events/event.h"
38 #include "ui/events/event_utils.h" 38 #include "ui/events/event_utils.h"
39 #include "ui/gfx/geometry/rect.h" 39 #include "ui/gfx/geometry/rect.h"
40 40
41 namespace mus { 41 namespace mus {
42 namespace ws { 42 namespace ws {
43 namespace test { 43 namespace test {
44 namespace { 44 namespace {
45 45
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 // Set capture from the embedded client and make sure it gets the event. 1008 // Set capture from the embedded client and make sure it gets the event.
1009 ASSERT_TRUE( 1009 ASSERT_TRUE(
1010 embed_tree->SetCapture(ClientWindowIdForWindow(embed_tree, window))); 1010 embed_tree->SetCapture(ClientWindowIdForWindow(embed_tree, window)));
1011 DispatchEventWithoutAck(CreateMouseMoveEvent(22, 23)); 1011 DispatchEventWithoutAck(CreateMouseMoveEvent(22, 23));
1012 EXPECT_EQ(embed_tree, wm_state_test_api.tree_awaiting_input_ack()); 1012 EXPECT_EQ(embed_tree, wm_state_test_api.tree_awaiting_input_ack());
1013 } 1013 }
1014 1014
1015 } // namespace test 1015 } // namespace test
1016 } // namespace ws 1016 } // namespace ws
1017 } // namespace mus 1017 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/ws/window_tree_host_factory.cc ('k') | testing/buildbot/gn_isolate_map.pyl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698