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

Issue 2243513004: mash: Partially migrate WorkspaceController to ash common. (Closed)

Created:
4 years, 4 months ago by msw
Modified:
4 years, 4 months ago
Reviewers:
James Cook
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Partially migrate WorkspaceController to ash common. Remove direct ShelfLayoutManager / WorkspaceController interaction. (alleviate some shelf widget and layout manager dependencies) Handle null WmWindowAura layout managers. Null check WmRootWindowControllerAura::GetWorkspaceWindowState. Move scale animation util to ash/common/wm/wm_window_animations.* Define local kIntialAnimationDurationMS for WorkspaceController. BUG=615155 TEST=Automated; no cros shelf or workspace regressions. R=jamescook@chromium.org Committed: https://crrev.com/6d9e0fd7c9a567eacc7c85bc0b57378aa237f2d3 Cr-Commit-Position: refs/heads/master@{#411547}

Patch Set 1 #

Patch Set 2 : Fix test failures and crashes. #

Total comments: 18

Patch Set 3 : Address comments. #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -144 lines) Patch
M ash/ash.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/aura/wm_root_window_controller_aura.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/aura/wm_window_aura.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
A ash/common/wm/wm_window_animations.h View 1 chunk +32 lines, -0 lines 0 comments Download
A ash/common/wm/wm_window_animations.cc View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M ash/root_window_controller.cc View 4 chunks +5 lines, -8 lines 0 comments Download
M ash/shelf/shelf_layout_manager.h View 3 chunks +0 lines, -7 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 6 chunks +10 lines, -13 lines 8 comments Download
M ash/shelf/shelf_widget.h View 2 chunks +1 line, -3 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 3 chunks +1 line, -5 lines 0 comments Download
M ash/wm/session_state_animator_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/window_animations.h View 4 chunks +0 lines, -14 lines 0 comments Download
M ash/wm/window_animations.cc View 3 chunks +2 lines, -17 lines 0 comments Download
M ash/wm/workspace_controller.h View 3 chunks +3 lines, -11 lines 0 comments Download
M ash/wm/workspace_controller.cc View 1 2 3 chunks +44 lines, -62 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
msw
Hey James, please take a look; thanks!
4 years, 4 months ago (2016-08-11 22:48:44 UTC) #9
James Cook
https://codereview.chromium.org/2243513004/diff/20001/ash/common/wm/wm_window_animations.cc File ash/common/wm/wm_window_animations.cc (right): https://codereview.chromium.org/2243513004/diff/20001/ash/common/wm/wm_window_animations.cc#newcode12 ash/common/wm/wm_window_animations.cc:12: // Returns scale related to the specified AshWindowScaleType. Doesn't ...
4 years, 4 months ago (2016-08-11 23:27:36 UTC) #10
msw
Please take another look; thanks! https://codereview.chromium.org/2243513004/diff/20001/ash/common/wm/wm_window_animations.cc File ash/common/wm/wm_window_animations.cc (right): https://codereview.chromium.org/2243513004/diff/20001/ash/common/wm/wm_window_animations.cc#newcode12 ash/common/wm/wm_window_animations.cc:12: // Returns scale related ...
4 years, 4 months ago (2016-08-12 00:17:15 UTC) #11
James Cook
LGTM https://codereview.chromium.org/2243513004/diff/40001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/2243513004/diff/40001/ash/shelf/shelf_layout_manager.cc#newcode229 ash/shelf/shelf_layout_manager.cc:229: WmRootWindowController* controller = shelf_window->GetRootWindowController(); optional: I liked the ...
4 years, 4 months ago (2016-08-12 01:52:50 UTC) #16
msw
https://codereview.chromium.org/2243513004/diff/40001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/2243513004/diff/40001/ash/shelf/shelf_layout_manager.cc#newcode229 ash/shelf/shelf_layout_manager.cc:229: WmRootWindowController* controller = shelf_window->GetRootWindowController(); On 2016/08/12 01:52:50, James Cook ...
4 years, 4 months ago (2016-08-12 04:01:57 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/2243513004/40001
4 years, 4 months ago (2016-08-12 04:02:28 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-12 04:06:23 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 04:08:37 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6d9e0fd7c9a567eacc7c85bc0b57378aa237f2d3
Cr-Commit-Position: refs/heads/master@{#411547}

Powered by Google App Engine
This is Rietveld 408576698