|
Fix coordinates in tab detach/drag and multi window resizer.
ToplevelWindowEventFilter:
* Use location in root window for drag_location
DocInfo::GetLocalProcessWindowAtPoint
* Use ScreenPositionClient to convert a point in screen to window
* Use correct root window at the position.
MultiWindowResizer
* Use ScreenPositionClient to convert a point in screen to window.
* show_bounds_ should be screen coordinates.
I also renamed {screen|parent}_{location|position| to
{location|position}_in_{screen|parent} to be more explicit and consistent with the rest of the code.
I'll work on the test separately as we discussed offline.
BUG= 138997, 138868
TEST=manual
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148478
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+185 lines, -171 lines) |
Patch |
 |
M |
ash/screen_ash.h
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/wm/toplevel_window_event_filter.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/wm/toplevel_window_event_filter.cc
|
View
|
|
4 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/multi_window_resize_controller.h
|
View
|
1
2
|
3 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/multi_window_resize_controller.cc
|
View
|
1
2
|
11 chunks |
+40 lines, -34 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_event_filter.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_event_filter.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_window_resizer.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_window_resizer.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/tabs/dock_info_ash.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tabs/tab_drag_controller.h
|
View
|
|
9 chunks |
+24 lines, -24 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tabs/tab_drag_controller.cc
|
View
|
1
2
3
4
5
|
30 chunks |
+82 lines, -79 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|