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

Issue 2589793002: ash: Should use GetTargetBounds to check call of SetBoundsDirectAnimated (Closed)

Created:
4 years ago by Qiang(Joe) Xu
Modified:
4 years ago
Reviewers:
James Cook
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ash: Should use GetTargetBounds to check call of SetBoundsDirectAnimated Changes: Because window's layer might be doing animation, in default_state.cc we should use GetTargetBounds to check call of SetBoundsDirectAnimated, otherwise it might miss the required bounds update in the case of 673803. BUG=673803 TEST=emulator test; also add test coverage. Committed: https://crrev.com/962f4ece9b5b3efa7e2cc3f0dde56cd08d9ad176 Cr-Commit-Position: refs/heads/master@{#439992}

Patch Set 1 #

Patch Set 2 : add test coverage #

Total comments: 8

Patch Set 3 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -4 lines) Patch
M ash/common/wm/default_state.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M ash/common/wm/workspace/workspace_layout_manager_unittest.cc View 1 2 2 chunks +37 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
Qiang(Joe) Xu
Hi James, ptal, thanks!
4 years ago (2016-12-19 13:38:29 UTC) #5
Qiang(Joe) Xu
On 2016/12/19 13:38:29, Qiang(Joe) Xu wrote: > Hi James, ptal, thanks! btw, the changes in ...
4 years ago (2016-12-19 13:42:20 UTC) #6
James Cook
Code looks good, but can you add test coverage? Note: Due to the mustash WmWindow ...
4 years ago (2016-12-19 17:37:48 UTC) #9
Qiang(Joe) Xu
Hi James, test coverage is added in ash/common/wm/workspace/workspace_layout_manager_unittest.cc, I see currently most of the layout ...
4 years ago (2016-12-20 09:36:58 UTC) #12
James Cook
LGTM with nits. Nice fix. https://codereview.chromium.org/2589793002/diff/20001/ash/common/wm/workspace/workspace_layout_manager_unittest.cc File ash/common/wm/workspace/workspace_layout_manager_unittest.cc (right): https://codereview.chromium.org/2589793002/diff/20001/ash/common/wm/workspace/workspace_layout_manager_unittest.cc#newcode543 ash/common/wm/workspace/workspace_layout_manager_unittest.cc:543: TEST_F(WorkspaceLayoutManagerTest, SnappedWindowMayNotUpdateOnWorkAreaChanged) { nit: ...
4 years ago (2016-12-20 17:50:31 UTC) #16
Qiang(Joe) Xu
https://codereview.chromium.org/2589793002/diff/20001/ash/common/wm/workspace/workspace_layout_manager_unittest.cc File ash/common/wm/workspace/workspace_layout_manager_unittest.cc (right): https://codereview.chromium.org/2589793002/diff/20001/ash/common/wm/workspace/workspace_layout_manager_unittest.cc#newcode543 ash/common/wm/workspace/workspace_layout_manager_unittest.cc:543: TEST_F(WorkspaceLayoutManagerTest, SnappedWindowMayNotUpdateOnWorkAreaChanged) { On 2016/12/20 17:50:31, James Cook (OOO ...
4 years ago (2016-12-21 02:37:55 UTC) #17
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/2589793002/40001
4 years ago (2016-12-21 02:38:28 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-21 03:09:14 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-21 03:11:21 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/962f4ece9b5b3efa7e2cc3f0dde56cd08d9ad176
Cr-Commit-Position: refs/heads/master@{#439992}

Powered by Google App Engine
This is Rietveld 408576698