|
CrOS Tablet Window management - Split Screen part I
Implement the split view. The behavior is similar to what we have on
Android today. See PRD: go/cros-splitview-prd.
Changes in this CL:
1. Introduce a command switch (--enable-tablet-splitview) to enable
split view in tablet mode (maximized mode).
2. The split view mode can be initiated by dragging the window in
overview mode to the side of the screen
3. After one window is snapped to one side of the screen, all the other
overview windows will display in the other side of the screen, allowing
the user to select another window to snap. When two windows are snapped
to both sides of the screen, the overview mode will be ended.
4. The first snapped window will remain snapped until the user
explicitly exit the split view mode. All the other windows (incluing
newly created window) will be open in the other side of the screen.
Clicking/Tapping on the overview button also open the overview windows
in the other side of the screen.
Not covered in this CL:
1. The highlighted region showing where split will occur is not
implemented in this CL.
2. The split divider is not implemented in this CL.
BUG= 725683
Total comments: 71
Total comments: 2
Total comments: 4
Total comments: 73
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1535 lines, -41 lines) |
Patch |
|
M |
ash/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/ash_switches.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ash/ash_switches.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/shell.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/shell.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+20 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/shell_observer.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/wm/maximize_mode/maximize_mode_window_manager.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ash/wm/maximize_mode/maximize_mode_window_manager.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/wm/maximize_mode/maximize_mode_window_state.h
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/wm/maximize_mode/maximize_mode_window_state.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+58 lines, -3 lines |
0 comments
|
Download
|
|
M |
ash/wm/overview/overview_animation_type.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
A |
ash/wm/overview/overview_window_drag_controller.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
|
A |
ash/wm/overview/overview_window_drag_controller.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+157 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/wm/overview/scoped_overview_animation_settings.cc
|
View
|
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/wm/overview/scoped_transform_overview_window.h
|
View
|
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/wm/overview/scoped_transform_overview_window.cc
|
View
|
1
2
3
4
|
4 chunks |
+42 lines, -3 lines |
0 comments
|
Download
|
|
M |
ash/wm/overview/window_grid.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/wm/overview/window_grid.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+26 lines, -6 lines |
0 comments
|
Download
|
|
M |
ash/wm/overview/window_selector.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
6 chunks |
+30 lines, -4 lines |
0 comments
|
Download
|
|
M |
ash/wm/overview/window_selector.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
9 chunks |
+123 lines, -11 lines |
0 comments
|
Download
|
|
M |
ash/wm/overview/window_selector_controller.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/wm/overview/window_selector_controller.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+36 lines, -3 lines |
0 comments
|
Download
|
|
M |
ash/wm/overview/window_selector_item.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+23 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/wm/overview/window_selector_item.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
8 chunks |
+147 lines, -6 lines |
0 comments
|
Download
|
|
A |
ash/wm/splitview/split_view_controller.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+134 lines, -0 lines |
0 comments
|
Download
|
|
A |
ash/wm/splitview/split_view_controller.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+356 lines, -0 lines |
0 comments
|
Download
|
|
A |
ash/wm/splitview/split_view_controller_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+219 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/wm/workspace/backdrop_controller.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/wm/workspace/backdrop_controller.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
Total messages: 41 (23 generated)
|