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 <stdint.h> | 5 #include <stdint.h> |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/atomicops.h" | 9 #include "base/atomicops.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
13 #include "services/ui/common/types.h" | 13 #include "services/ui/common/types.h" |
14 #include "services/ui/common/util.h" | 14 #include "services/ui/common/util.h" |
15 #include "services/ui/public/interfaces/window_tree.mojom.h" | 15 #include "services/ui/public/interfaces/window_tree.mojom.h" |
16 #include "services/ui/surfaces/display_compositor.h" | 16 #include "services/ui/surfaces/display_compositor.h" |
17 #include "services/ui/ws/display_binding.h" | |
18 #include "services/ui/ws/display_manager.h" | 17 #include "services/ui/ws/display_manager.h" |
19 #include "services/ui/ws/ids.h" | 18 #include "services/ui/ws/ids.h" |
20 #include "services/ui/ws/platform_display.h" | 19 #include "services/ui/ws/platform_display.h" |
21 #include "services/ui/ws/platform_display_factory.h" | 20 #include "services/ui/ws/platform_display_factory.h" |
22 #include "services/ui/ws/platform_display_init_params.h" | 21 #include "services/ui/ws/platform_display_init_params.h" |
23 #include "services/ui/ws/server_window.h" | 22 #include "services/ui/ws/server_window.h" |
24 #include "services/ui/ws/test_utils.h" | 23 #include "services/ui/ws/test_utils.h" |
25 #include "services/ui/ws/window_manager_state.h" | 24 #include "services/ui/ws/window_manager_state.h" |
26 #include "services/ui/ws/window_manager_window_tree_factory_set.h" | 25 #include "services/ui/ws/window_manager_window_tree_factory_set.h" |
27 #include "services/ui/ws/window_server.h" | 26 #include "services/ui/ws/window_server.h" |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 base::subtle::Atomic32 location = | 225 base::subtle::Atomic32 location = |
227 base::subtle::NoBarrier_Load(cursor_location_memory); | 226 base::subtle::NoBarrier_Load(cursor_location_memory); |
228 EXPECT_EQ(gfx::Point(static_cast<int16_t>(location >> 16), | 227 EXPECT_EQ(gfx::Point(static_cast<int16_t>(location >> 16), |
229 static_cast<int16_t>(location & 0xFFFF)), | 228 static_cast<int16_t>(location & 0xFFFF)), |
230 gfx::Point(-10, -11)); | 229 gfx::Point(-10, -11)); |
231 } | 230 } |
232 | 231 |
233 } // namespace test | 232 } // namespace test |
234 } // namespace ws | 233 } // namespace ws |
235 } // namespace ui | 234 } // namespace ui |
OLD | NEW |