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

Issue 2470343003: Use mirror layer for minimized windows in overview mode (Closed)

Created:
4 years, 1 month ago by oshima
Modified:
4 years, 1 month ago
Reviewers:
varkha
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use mirror layer for minimized windows in overview mode * This CL changes overview mode to use the mirror layer for minimized windows (normal minimized, docked minimized). * The mirror window already excludes header, so do not adjust the top insets. * Reposition windows when a window gets minimized/unminimized. BUG=654067 TEST=covered by unit tests. Committed: https://crrev.com/49d6f138d9c18c3c8843cddf43f06d4c0b484578 Cr-Commit-Position: refs/heads/master@{#432537}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Use mirror layer for minimized windows in overview mode #

Patch Set 3 : Use mirror layer for minimized windows in overview mode #

Patch Set 4 : Use mirror layer for minimized windows in overview mode #

Total comments: 8

Patch Set 5 : Use mirror layer for minimized windows in overview mode #

Patch Set 6 : Use mirror layer for minimized windows in overview mode #

Unified diffs Side-by-side diffs Delta from patch set Stats (+350 lines, -163 lines) Patch
M ash/common/wm/overview/scoped_transform_overview_window.h View 1 2 3 4 5 8 chunks +26 lines, -21 lines 0 comments Download
M ash/common/wm/overview/scoped_transform_overview_window.cc View 1 2 3 4 14 chunks +107 lines, -64 lines 0 comments Download
M ash/common/wm/overview/window_grid.h View 1 2 3 4 chunks +8 lines, -3 lines 0 comments Download
M ash/common/wm/overview/window_grid.cc View 1 2 3 6 chunks +31 lines, -3 lines 0 comments Download
M ash/common/wm/overview/window_selector.cc View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M ash/common/wm/overview/window_selector_item.h View 3 chunks +5 lines, -4 lines 0 comments Download
M ash/common/wm/overview/window_selector_item.cc View 1 2 4 chunks +9 lines, -5 lines 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 24 chunks +154 lines, -58 lines 0 comments Download
M ash/wm/window_mirror_view.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (31 generated)
oshima
4 years, 1 month ago (2016-11-05 14:17:33 UTC) #22
varkha
So for the example in the comment https://bugs.chromium.org/p/chromium/issues/detail?id=654067#c3 - is the intention now to have ...
4 years, 1 month ago (2016-11-07 23:01:38 UTC) #25
varkha
Not sure if you had the web apps running in a window in mind - ...
4 years, 1 month ago (2016-11-08 00:02:57 UTC) #26
oshima
On 2016/11/07 23:01:38, varkha wrote: > So for the example in the comment > https://bugs.chromium.org/p/chromium/issues/detail?id=654067#c3 ...
4 years, 1 month ago (2016-11-08 22:28:13 UTC) #27
oshima
On 2016/11/08 00:02:57, varkha wrote: > Not sure if you had the web apps running ...
4 years, 1 month ago (2016-11-08 22:43:40 UTC) #28
oshima
https://codereview.chromium.org/2470343003/diff/160001/ash/common/wm/overview/scoped_transform_overview_window.cc File ash/common/wm/overview/scoped_transform_overview_window.cc (right): https://codereview.chromium.org/2470343003/diff/160001/ash/common/wm/overview/scoped_transform_overview_window.cc#newcode282 ash/common/wm/overview/scoped_transform_overview_window.cc:282: return 0; On 2016/11/08 00:02:56, varkha wrote: > I ...
4 years, 1 month ago (2016-11-10 23:58:47 UTC) #29
oshima
ping?
4 years, 1 month ago (2016-11-15 16:14:35 UTC) #34
varkha
lgtm. I tried it a bit and it seems to be doing the right thing. ...
4 years, 1 month ago (2016-11-15 20:10:21 UTC) #35
varkha
https://codereview.chromium.org/2470343003/diff/220001/ash/common/wm/overview/scoped_transform_overview_window.cc File ash/common/wm/overview/scoped_transform_overview_window.cc (left): https://codereview.chromium.org/2470343003/diff/220001/ash/common/wm/overview/scoped_transform_overview_window.cc#oldcode252 ash/common/wm/overview/scoped_transform_overview_window.cc:252: return window_->GetMinimizeAnimationTargetBoundsInScreen(); nit: Is WmWindow::GetMinimizeAnimationTargetBoundsInScreen still used? The point ...
4 years, 1 month ago (2016-11-15 20:17:22 UTC) #36
oshima
https://codereview.chromium.org/2470343003/diff/220001/ash/common/wm/overview/scoped_transform_overview_window.cc File ash/common/wm/overview/scoped_transform_overview_window.cc (left): https://codereview.chromium.org/2470343003/diff/220001/ash/common/wm/overview/scoped_transform_overview_window.cc#oldcode252 ash/common/wm/overview/scoped_transform_overview_window.cc:252: return window_->GetMinimizeAnimationTargetBoundsInScreen(); On 2016/11/15 20:17:22, varkha wrote: > nit: ...
4 years, 1 month ago (2016-11-16 14:58:27 UTC) #37
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/2470343003/260001
4 years, 1 month ago (2016-11-16 14:59:09 UTC) #40
commit-bot: I haz the power
Committed patchset #6 (id:260001)
4 years, 1 month ago (2016-11-16 17:27:45 UTC) #42
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 17:49:02 UTC) #44
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/49d6f138d9c18c3c8843cddf43f06d4c0b484578
Cr-Commit-Position: refs/heads/master@{#432537}

Powered by Google App Engine
This is Rietveld 408576698