|
Use native coordinates to warp the cursor to another display.
This is roughly how this works.
- Takes the bounds of the edge indicator in screen coords
and convert to native coords
- If the location of mouse in native coords moves into this
bounds, we need to warp the mouse.
- Convert the current mouse location in screen coords to the
destination window's host coords. Adjust so that the location is inside the host window's bounds.
No flag. I'll simply flip the flag if I need to disable this on branch.
BUG= 321699, 306632
TEST=TBD
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269758
Total comments: 4
Total comments: 1
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+365 lines, -50 lines) |
Patch |
 |
M |
ash/display/display_controller.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/display/mouse_cursor_event_filter.h
|
View
|
1
2
|
5 chunks |
+44 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ash/display/mouse_cursor_event_filter.cc
|
View
|
1
2
3
4
5
|
11 chunks |
+232 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ash/display/mouse_cursor_event_filter_unittest.cc
|
View
|
1
2
3
4
|
5 chunks |
+54 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ash/host/ash_remote_window_tree_host_win.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/host/ash_remote_window_tree_host_win.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/host/ash_window_tree_host.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/host/ash_window_tree_host_win.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/host/ash_window_tree_host_x11.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/host/ash_window_tree_host_x11.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/wm/coordinate_conversion.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/wm/coordinate_conversion.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/wm/drag_window_resizer_unittest.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/wm/immersive_fullscreen_controller_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
Total messages: 22 (0 generated)
|