Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1009)

Issue 2960843004: CrOS Tablet Window management - Split Screen part I (Closed)

Created:
3 years, 5 months ago by xdai1
Modified:
3 years, 5 months ago
Reviewers:
varkha, oshima
CC:
chromium-reviews, kalyank, sadrul, dcheng
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

CrOS Tablet Window management - Split Screen part I Implement the split view controller. Changes in this CL: 1. Introduce a command switch (--enable-tablet-splitview) to enable split view in tablet mode (maximized mode). 2. Add unit tests for the split view controller. I'll wire the split view controller with overview mode in a following CL. BUG=725683 Review-Url: https://codereview.chromium.org/2960843004 Cr-Commit-Position: refs/heads/master@{#484397} Committed: https://chromium.googlesource.com/chromium/src/+/d491376f80629a946673f618e05d2f1ffa821c2f

Patch Set 1 #

Patch Set 2 : Rename |separator_position_| to |divider_position_| #

Total comments: 24

Patch Set 3 : Address oshima@'s comments. #

Patch Set 4 : nit. #

Total comments: 16

Patch Set 5 : Address varkha@'s comments. Rebase. #

Patch Set 6 : Fix failed tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+784 lines, -5 lines) Patch
M ash/BUILD.gn View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M ash/ash_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ash/ash_switches.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ash/shell.h View 1 4 chunks +18 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 5 chunks +20 lines, -1 line 0 comments Download
M ash/shell_observer.h View 1 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 2 3 4 1 chunk +11 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 7 chunks +61 lines, -4 lines 0 comments Download
A ash/wm/splitview/split_view_controller.h View 1 2 3 4 1 chunk +134 lines, -0 lines 0 comments Download
A ash/wm/splitview/split_view_controller.cc View 1 2 3 4 5 1 chunk +339 lines, -0 lines 0 comments Download
A ash/wm/splitview/split_view_controller_unittest.cc View 1 2 3 4 5 1 chunk +163 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 1 chunk +13 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 30 (18 generated)
xdai1
+cc sadrul@ FYI oshima@, varkha@, as suggested by sadrul@, I split the original CL (https://codereview.chromium.org/2918403006/) ...
3 years, 5 months ago (2017-06-27 23:39:19 UTC) #4
oshima
https://codereview.chromium.org/2960843004/diff/60001/ash/wm/splitview/split_view_controller.cc File ash/wm/splitview/split_view_controller.cc (right): https://codereview.chromium.org/2960843004/diff/60001/ash/wm/splitview/split_view_controller.cc#newcode29 ash/wm/splitview/split_view_controller.cc:29: return wm::GetWindowState(window)->CanSnap(); nit: return CanActivate ? CanSnap : false; ...
3 years, 5 months ago (2017-06-28 17:36:36 UTC) #7
xdai1
oshima@, I've addressed your comments. Please take another look, thanks for the review! https://codereview.chromium.org/2960843004/diff/60001/ash/wm/splitview/split_view_controller.cc File ...
3 years, 5 months ago (2017-06-28 18:48:17 UTC) #8
oshima
one more q. mru list may contain a window in always on top, which IIRC, ...
3 years, 5 months ago (2017-06-28 19:47:47 UTC) #9
xdai1
On 2017/06/28 19:47:47, oshima wrote: > one more q. mru list may contain a window ...
3 years, 5 months ago (2017-06-28 20:34:46 UTC) #10
oshima
On 2017/06/28 20:34:46, xdai1 wrote: > On 2017/06/28 19:47:47, oshima wrote: > > one more ...
3 years, 5 months ago (2017-06-28 22:24:24 UTC) #11
xdai1
varkha@, kindly ping? I assume this split smaller CL looks good to you since the ...
3 years, 5 months ago (2017-06-29 17:00:49 UTC) #12
varkha
lgtm with a suggestion and a few nits. https://codereview.chromium.org/2960843004/diff/100001/ash/wm/maximize_mode/maximize_mode_window_manager.cc File ash/wm/maximize_mode/maximize_mode_window_manager.cc (right): https://codereview.chromium.org/2960843004/diff/100001/ash/wm/maximize_mode/maximize_mode_window_manager.cc#newcode90 ash/wm/maximize_mode/maximize_mode_window_manager.cc:90: // ...
3 years, 5 months ago (2017-06-30 14:29:35 UTC) #13
xdai1
varkha@, I've addressed your comments. Thanks for the review! https://codereview.chromium.org/2960843004/diff/100001/ash/wm/maximize_mode/maximize_mode_window_manager.cc File ash/wm/maximize_mode/maximize_mode_window_manager.cc (right): https://codereview.chromium.org/2960843004/diff/100001/ash/wm/maximize_mode/maximize_mode_window_manager.cc#newcode90 ash/wm/maximize_mode/maximize_mode_window_manager.cc:90: ...
3 years, 5 months ago (2017-07-05 20:18:23 UTC) #16
varkha
On 2017/07/05 20:18:23, xdai1 wrote: > varkha@, I've addressed your comments. Thanks for the review! ...
3 years, 5 months ago (2017-07-05 21:06:51 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2960843004/140001
3 years, 5 months ago (2017-07-05 23:23:56 UTC) #26
commit-bot: I haz the power
3 years, 5 months ago (2017-07-06 00:17:57 UTC) #30
Message was sent while issue was closed.
Committed patchset #6 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/d491376f80629a946673f618e05d...

Powered by Google App Engine
This is Rietveld 408576698