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

Issue 1841803002: Cleanup WorkspaceController and WorkspaceLayoutManager. (Closed)

Created:
4 years, 8 months ago by msw
Modified:
4 years, 8 months ago
Reviewers:
oshima
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

ABANDONED AS PER https://codereview.chromium.org/1888153002 Cleanup WorkspaceController and WorkspaceLayoutManager. Avoid direct calls to ShelfLayoutManager; misc cleanup. Bail from UpdateFullscreenState if not the default container... (this was toggling off of shelf_'s validity, but that seems odd) BUG=NONE TEST=No behavior changes; no regressions. R=oshima@chromium.org

Patch Set 1 #

Patch Set 2 : Keep nullptr comparisons. #

Total comments: 4

Patch Set 3 : Address comments. #

Patch Set 4 : Bail from UpdateFullscreenState if for_always_on_top_container... #

Patch Set 5 : Update always_on_top_controller_unittest.cc #

Patch Set 6 : Check if the container is kShellWindowId_DefaultContainer instead. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -88 lines) Patch
M ash/root_window_controller.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_widget.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace/workspace_layout_manager.h View 1 2 3 4 5 4 chunks +2 lines, -7 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager.cc View 1 2 3 4 5 14 chunks +41 lines, -58 lines 0 comments Download
M ash/wm/workspace_controller.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace_controller.cc View 1 2 3 4 5 3 chunks +8 lines, -20 lines 0 comments Download

Messages

Total messages: 41 (19 generated)
msw
Hey Oshima, please take a look; thanks!
4 years, 8 months ago (2016-03-29 20:54:31 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841803002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841803002/1
4 years, 8 months ago (2016-03-29 20:55:48 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/165810) win_chromium_x64_rel_ng on ...
4 years, 8 months ago (2016-03-29 21:45:53 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841803002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841803002/20001
4 years, 8 months ago (2016-03-29 22:05:46 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/150397)
4 years, 8 months ago (2016-03-29 22:33:52 UTC) #10
oshima
lgtm with nits https://codereview.chromium.org/1841803002/diff/20001/ash/wm/workspace/workspace_layout_manager.cc File ash/wm/workspace/workspace_layout_manager.cc (right): https://codereview.chromium.org/1841803002/diff/20001/ash/wm/workspace/workspace_layout_manager.cc#newcode54 ash/wm/workspace/workspace_layout_manager.cc:54: for (auto window : windows_) nit: ...
4 years, 8 months ago (2016-03-29 22:42:26 UTC) #11
msw
Thanks! https://codereview.chromium.org/1841803002/diff/20001/ash/wm/workspace/workspace_layout_manager.cc File ash/wm/workspace/workspace_layout_manager.cc (right): https://codereview.chromium.org/1841803002/diff/20001/ash/wm/workspace/workspace_layout_manager.cc#newcode54 ash/wm/workspace/workspace_layout_manager.cc:54: for (auto window : windows_) On 2016/03/29 22:42:25, ...
4 years, 8 months ago (2016-03-29 22:48:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841803002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841803002/40001
4 years, 8 months ago (2016-03-29 22:48:43 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/70314)
4 years, 8 months ago (2016-03-29 23:19:34 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841803002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841803002/60001
4 years, 8 months ago (2016-04-06 00:12:55 UTC) #20
msw
Hey Oshima, please take another look; thanks. I had to update the code to bail ...
4 years, 8 months ago (2016-04-06 00:17:15 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/167478)
4 years, 8 months ago (2016-04-06 00:27:36 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841803002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841803002/80001
4 years, 8 months ago (2016-04-06 00:39:43 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-06 01:19:00 UTC) #27
msw
Oshima, friendly ping; please take a look; thanks! (just lmk if you want me to ...
4 years, 8 months ago (2016-04-14 19:23:39 UTC) #28
msw
FYI: If I omit the early return from WorkspaceLayoutManager::UpdateFullscreenState, then we get the following crash ...
4 years, 8 months ago (2016-04-14 20:09:09 UTC) #29
msw
Please take another look; thanks!
4 years, 8 months ago (2016-04-14 20:56:20 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841803002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841803002/100001
4 years, 8 months ago (2016-04-14 20:56:41 UTC) #33
oshima
lgtm
4 years, 8 months ago (2016-04-14 20:58:26 UTC) #34
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/154866)
4 years, 8 months ago (2016-04-14 21:26:13 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841803002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841803002/100001
4 years, 8 months ago (2016-04-14 21:35:57 UTC) #38
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 21:45:30 UTC) #40
Try jobs failed on following builders:
  chromium_presubmit on tryserver.chromium.linux (JOB_FAILED,
http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
  linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED,
http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)

Powered by Google App Engine
This is Rietveld 408576698