| 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/display/platform_screen.h" | 15 #include "services/ui/display/platform_screen.h" |
| 16 #include "services/ui/public/interfaces/window_tree.mojom.h" | 16 #include "services/ui/public/interfaces/window_tree.mojom.h" |
| 17 #include "services/ui/surfaces/display_compositor.h" |
| 17 #include "services/ui/ws/display_manager.h" | 18 #include "services/ui/ws/display_manager.h" |
| 18 #include "services/ui/ws/ids.h" | 19 #include "services/ui/ws/ids.h" |
| 19 #include "services/ui/ws/platform_display.h" | 20 #include "services/ui/ws/platform_display.h" |
| 20 #include "services/ui/ws/platform_display_factory.h" | 21 #include "services/ui/ws/platform_display_factory.h" |
| 21 #include "services/ui/ws/platform_display_init_params.h" | 22 #include "services/ui/ws/platform_display_init_params.h" |
| 22 #include "services/ui/ws/server_window.h" | 23 #include "services/ui/ws/server_window.h" |
| 23 #include "services/ui/ws/test_utils.h" | 24 #include "services/ui/ws/test_utils.h" |
| 24 #include "services/ui/ws/window_manager_state.h" | 25 #include "services/ui/ws/window_manager_state.h" |
| 25 #include "services/ui/ws/window_manager_window_tree_factory_set.h" | 26 #include "services/ui/ws/window_manager_window_tree_factory_set.h" |
| 26 #include "services/ui/ws/window_server.h" | 27 #include "services/ui/ws/window_server.h" |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 base::subtle::Atomic32 location = | 229 base::subtle::Atomic32 location = |
| 229 base::subtle::NoBarrier_Load(cursor_location_memory); | 230 base::subtle::NoBarrier_Load(cursor_location_memory); |
| 230 EXPECT_EQ(gfx::Point(static_cast<int16_t>(location >> 16), | 231 EXPECT_EQ(gfx::Point(static_cast<int16_t>(location >> 16), |
| 231 static_cast<int16_t>(location & 0xFFFF)), | 232 static_cast<int16_t>(location & 0xFFFF)), |
| 232 gfx::Point(-10, -11)); | 233 gfx::Point(-10, -11)); |
| 233 } | 234 } |
| 234 | 235 |
| 235 } // namespace test | 236 } // namespace test |
| 236 } // namespace ws | 237 } // namespace ws |
| 237 } // namespace ui | 238 } // namespace ui |
| OLD | NEW |