| OLD | NEW | 
|    1 // Copyright 2015 The Chromium Authors. All rights reserved. |    1 // Copyright 2015 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 "ash/display/unified_mouse_warp_controller.h" |    5 #include "ash/display/unified_mouse_warp_controller.h" | 
|    6  |    6  | 
|    7 #include <cmath> |    7 #include <cmath> | 
|    8  |    8  | 
|    9 #include "ash/display/display_util.h" |    9 #include "ash/display/display_util.h" | 
|   10 #include "ash/display/mirror_window_controller.h" |   10 #include "ash/display/mirror_window_controller.h" | 
|   11 #include "ash/display/window_tree_host_manager.h" |   11 #include "ash/display/window_tree_host_manager.h" | 
|   12 #include "ash/host/ash_window_tree_host.h" |   12 #include "ash/host/ash_window_tree_host.h" | 
|   13 #include "ash/shell.h" |   13 #include "ash/shell.h" | 
|   14 #include "ui/aura/client/cursor_client.h" |   14 #include "ui/aura/client/cursor_client.h" | 
|   15 #include "ui/aura/window.h" |   15 #include "ui/aura/window.h" | 
|   16 #include "ui/aura/window_tree_host.h" |   16 #include "ui/aura/window_tree_host.h" | 
|   17 #include "ui/base/layout.h" |   17 #include "ui/base/layout.h" | 
|   18 #include "ui/display/manager/display_layout.h" |   18 #include "ui/display/display_layout.h" | 
|   19 #include "ui/display/manager/display_manager.h" |   19 #include "ui/display/manager/display_manager.h" | 
|   20 #include "ui/display/manager/display_manager_utilities.h" |   20 #include "ui/display/manager/display_manager_utilities.h" | 
|   21 #include "ui/display/screen.h" |   21 #include "ui/display/screen.h" | 
|   22 #include "ui/events/event_utils.h" |   22 #include "ui/events/event_utils.h" | 
|   23 #include "ui/wm/core/coordinate_conversion.h" |   23 #include "ui/wm/core/coordinate_conversion.h" | 
|   24  |   24  | 
|   25 namespace ash { |   25 namespace ash { | 
|   26  |   26  | 
|   27 namespace { |   27 namespace { | 
|   28  |   28  | 
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  166       in_first_edge ? display_list[0].id() : display_list[1].id(); |  166       in_first_edge ? display_list[0].id() : display_list[1].id(); | 
|  167   AshWindowTreeHost* target_ash_host = |  167   AshWindowTreeHost* target_ash_host = | 
|  168       GetMirroringAshWindowTreeHostForDisplayId( |  168       GetMirroringAshWindowTreeHostForDisplayId( | 
|  169           in_first_edge ? display_list[1].id() : display_list[0].id()); |  169           in_first_edge ? display_list[1].id() : display_list[0].id()); | 
|  170   MoveCursorTo(target_ash_host, point_in_unified_host, |  170   MoveCursorTo(target_ash_host, point_in_unified_host, | 
|  171                update_mouse_location_now); |  171                update_mouse_location_now); | 
|  172   return true; |  172   return true; | 
|  173 } |  173 } | 
|  174  |  174  | 
|  175 }  // namespace ash |  175 }  // namespace ash | 
| OLD | NEW |