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

Side by Side Diff: services/ui/ws/window_manager_state_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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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_manager_state.h" 5 #include "services/ui/ws/window_manager_state.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/test/test_simple_task_runner.h" 12 #include "base/test/test_simple_task_runner.h"
13 #include "base/threading/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "components/mus/common/event_matcher_util.h"
15 #include "components/mus/surfaces/surfaces_state.h"
16 #include "components/mus/ws/accelerator.h"
17 #include "components/mus/ws/display.h"
18 #include "components/mus/ws/display_binding.h"
19 #include "components/mus/ws/platform_display.h"
20 #include "components/mus/ws/platform_display_init_params.h"
21 #include "components/mus/ws/server_window_surface_manager_test_api.h"
22 #include "components/mus/ws/test_change_tracker.h"
23 #include "components/mus/ws/test_server_window_delegate.h"
24 #include "components/mus/ws/test_utils.h"
25 #include "components/mus/ws/window_manager_access_policy.h"
26 #include "components/mus/ws/window_manager_display_root.h"
27 #include "components/mus/ws/window_manager_state.h"
28 #include "components/mus/ws/window_server.h"
29 #include "components/mus/ws/window_tree.h"
30 #include "services/shell/public/interfaces/connector.mojom.h" 14 #include "services/shell/public/interfaces/connector.mojom.h"
15 #include "services/ui/common/event_matcher_util.h"
16 #include "services/ui/surfaces/surfaces_state.h"
17 #include "services/ui/ws/accelerator.h"
18 #include "services/ui/ws/display.h"
19 #include "services/ui/ws/display_binding.h"
20 #include "services/ui/ws/platform_display.h"
21 #include "services/ui/ws/platform_display_init_params.h"
22 #include "services/ui/ws/server_window_surface_manager_test_api.h"
23 #include "services/ui/ws/test_change_tracker.h"
24 #include "services/ui/ws/test_server_window_delegate.h"
25 #include "services/ui/ws/test_utils.h"
26 #include "services/ui/ws/window_manager_access_policy.h"
27 #include "services/ui/ws/window_manager_display_root.h"
28 #include "services/ui/ws/window_manager_state.h"
29 #include "services/ui/ws/window_server.h"
30 #include "services/ui/ws/window_tree.h"
31 #include "testing/gtest/include/gtest/gtest.h" 31 #include "testing/gtest/include/gtest/gtest.h"
32 #include "ui/events/event.h" 32 #include "ui/events/event.h"
33 33
34 namespace mus { 34 namespace mus {
35 namespace ws { 35 namespace ws {
36 namespace test { 36 namespace test {
37 37
38 class WindowManagerStateTest : public testing::Test { 38 class WindowManagerStateTest : public testing::Test {
39 public: 39 public:
40 WindowManagerStateTest(); 40 WindowManagerStateTest();
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 EXPECT_EQ(CHANGE_TYPE_INPUT_EVENT, 410 EXPECT_EQ(CHANGE_TYPE_INPUT_EVENT,
411 (*embedder_client->tracker()->changes())[0].type); 411 (*embedder_client->tracker()->changes())[0].type);
412 WindowTreeTestApi(embedder_tree) 412 WindowTreeTestApi(embedder_tree)
413 .AckLastEvent(mojom::EventResult::UNHANDLED); 413 .AckLastEvent(mojom::EventResult::UNHANDLED);
414 } 414 }
415 } 415 }
416 416
417 } // namespace test 417 } // namespace test
418 } // namespace ws 418 } // namespace ws
419 } // namespace mus 419 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/ws/window_manager_state.cc ('k') | services/ui/ws/window_manager_window_tree_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698