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

Issue 249723002: Fixing problem where applications are not getting centered when created after maximize mode starts (Closed)

Created:
6 years, 8 months ago by Mr4D (OOO till 08-26)
Modified:
6 years, 8 months ago
Reviewers:
oshima
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Visibility:
Public.

Description

Fixing problem where applications are not getting centered when created after maximize mode starts BUG=365868 TEST=visual and unit test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266161

Patch Set 1 #

Total comments: 5

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -21 lines) Patch
M ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc View 1 chunk +10 lines, -1 line 0 comments Download
M ash/wm/maximize_mode/maximize_mode_window_state.cc View 1 3 chunks +17 lines, -20 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Mr4D (OOO till 08-26)
Please have a look!
6 years, 8 months ago (2014-04-23 17:10:29 UTC) #1
oshima
https://codereview.chromium.org/249723002/diff/1/ash/wm/maximize_mode/maximize_mode_window_state.cc File ash/wm/maximize_mode/maximize_mode_window_state.cc (right): https://codereview.chromium.org/249723002/diff/1/ash/wm/maximize_mode/maximize_mode_window_state.cc#newcode60 ash/wm/maximize_mode/maximize_mode_window_state.cc:60: work_area_in_parent.y(); I think work_area_in_parent.ClampToCenteredSize(bounds) should work. (the opposite does ...
6 years, 8 months ago (2014-04-24 21:01:25 UTC) #2
Mr4D (OOO till 08-26)
Please have another look! https://codereview.chromium.org/249723002/diff/1/ash/wm/maximize_mode/maximize_mode_window_state.cc File ash/wm/maximize_mode/maximize_mode_window_state.cc (right): https://codereview.chromium.org/249723002/diff/1/ash/wm/maximize_mode/maximize_mode_window_state.cc#newcode60 ash/wm/maximize_mode/maximize_mode_window_state.cc:60: work_area_in_parent.y(); I tried this yesterday. ...
6 years, 8 months ago (2014-04-24 21:42:20 UTC) #3
oshima
https://codereview.chromium.org/249723002/diff/1/ash/wm/maximize_mode/maximize_mode_window_state.cc File ash/wm/maximize_mode/maximize_mode_window_state.cc (right): https://codereview.chromium.org/249723002/diff/1/ash/wm/maximize_mode/maximize_mode_window_state.cc#newcode158 ash/wm/maximize_mode/maximize_mode_window_state.cc:158: if (window_state->window()->IsVisible()) On 2014/04/24 21:42:20, Mr4D wrote: > Multi ...
6 years, 8 months ago (2014-04-24 21:57:52 UTC) #4
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 8 months ago (2014-04-24 23:20:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/249723002/20001
6 years, 8 months ago (2014-04-24 23:21:34 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-25 00:11:47 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-25 00:11:48 UTC) #8
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 8 months ago (2014-04-25 02:04:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/249723002/20001
6 years, 8 months ago (2014-04-25 02:06:47 UTC) #10
commit-bot: I haz the power
6 years, 8 months ago (2014-04-25 08:39:14 UTC) #11
Message was sent while issue was closed.
Change committed as 266161

Powered by Google App Engine
This is Rietveld 408576698