| OLD | NEW |
| 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 "services/ui/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 "services/shell/public/interfaces/connector.mojom.h" | 14 #include "services/service_manager/public/interfaces/connector.mojom.h" |
| 15 #include "services/ui/common/event_matcher_util.h" | 15 #include "services/ui/common/event_matcher_util.h" |
| 16 #include "services/ui/surfaces/display_compositor.h" | 16 #include "services/ui/surfaces/display_compositor.h" |
| 17 #include "services/ui/ws/accelerator.h" | 17 #include "services/ui/ws/accelerator.h" |
| 18 #include "services/ui/ws/display.h" | 18 #include "services/ui/ws/display.h" |
| 19 #include "services/ui/ws/display_binding.h" | 19 #include "services/ui/ws/display_binding.h" |
| 20 #include "services/ui/ws/display_manager.h" | 20 #include "services/ui/ws/display_manager.h" |
| 21 #include "services/ui/ws/platform_display.h" | 21 #include "services/ui/ws/platform_display.h" |
| 22 #include "services/ui/ws/platform_display_init_params.h" | 22 #include "services/ui/ws/platform_display_init_params.h" |
| 23 #include "services/ui/ws/server_window_surface_manager_test_api.h" | 23 #include "services/ui/ws/server_window_surface_manager_test_api.h" |
| 24 #include "services/ui/ws/test_change_tracker.h" | 24 #include "services/ui/ws/test_change_tracker.h" |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 ASSERT_EQ(1u, tree->roots().size()); | 564 ASSERT_EQ(1u, tree->roots().size()); |
| 565 ClientWindowId root_client_id; | 565 ClientWindowId root_client_id; |
| 566 ASSERT_TRUE(tree->IsWindowKnown(*(tree->roots().begin()), &root_client_id)); | 566 ASSERT_TRUE(tree->IsWindowKnown(*(tree->roots().begin()), &root_client_id)); |
| 567 EXPECT_TRUE(tree->DeleteWindow(root_client_id)); | 567 EXPECT_TRUE(tree->DeleteWindow(root_client_id)); |
| 568 window_server->DestroyTree(tree); | 568 window_server->DestroyTree(tree); |
| 569 } | 569 } |
| 570 | 570 |
| 571 } // namespace test | 571 } // namespace test |
| 572 } // namespace ws | 572 } // namespace ws |
| 573 } // namespace ui | 573 } // namespace ui |
| OLD | NEW |