|
Removes individual instances of Details structure in WindowResizer subclasses and adds DragDetails to WindowState. It is possible to access the current WindowResizer during the drag via window_state->drag_details()->window_resizer.
Simplifies construction of WindowResizer chain by creating DragDetails once at a point where creation of the resizer chain is imminent (after all checks that would return empty WindowResizer object are made).
Keeps track of whether currently dragged window is a panel attached to the shelf and if so prevents it from indicating that it can be docked (and from getting docked).
BUG= 310931
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244246
Total comments: 12
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+547 lines, -579 lines) |
Patch |
 |
M |
ash/ash.gyp
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/wm/default_window_resizer.h
|
View
|
1
|
1 chunk |
+5 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ash/wm/default_window_resizer.cc
|
View
|
1
|
2 chunks |
+13 lines, -26 lines |
0 comments
|
Download
|
 |
M |
ash/wm/dock/docked_window_layout_manager.cc
|
View
|
1
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/wm/dock/docked_window_resizer.h
|
View
|
1
|
2 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ash/wm/dock/docked_window_resizer.cc
|
View
|
1
|
10 chunks |
+20 lines, -36 lines |
0 comments
|
Download
|
 |
A |
ash/wm/drag_details.h
|
View
|
1
2
3
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/wm/drag_details.cc
|
View
|
1
2
3
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/wm/drag_window_resizer.h
|
View
|
1
|
3 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ash/wm/drag_window_resizer.cc
|
View
|
1
2
|
10 chunks |
+18 lines, -33 lines |
0 comments
|
Download
|
 |
M |
ash/wm/panels/panel_window_resizer.h
|
View
|
1
|
4 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ash/wm/panels/panel_window_resizer.cc
|
View
|
1
|
6 chunks |
+19 lines, -32 lines |
0 comments
|
Download
|
 |
M |
ash/wm/window_resizer.h
|
View
|
1
2
|
4 chunks |
+25 lines, -74 lines |
0 comments
|
Download
|
 |
M |
ash/wm/window_resizer.cc
|
View
|
1
2
|
8 chunks |
+104 lines, -178 lines |
0 comments
|
Download
|
 |
M |
ash/wm/window_state.h
|
View
|
1
2
|
4 chunks |
+26 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ash/wm/window_state.cc
|
View
|
1
2
3
|
2 chunks |
+16 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/multi_window_resize_controller.cc
|
View
|
1
2
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_window_resizer.h
|
View
|
1
|
3 chunks |
+3 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_window_resizer.cc
|
View
|
1
2
3
|
28 chunks |
+99 lines, -103 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_window_resizer_unittest.cc
|
View
|
1
2
|
20 chunks |
+30 lines, -19 lines |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|