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

Issue 2642003002: Removes ash::mus::RootWindowController (Closed)

Created:
3 years, 11 months ago by sky
Modified:
3 years, 11 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removes ash::mus::RootWindowController The functionality is moved into two places: . Maintaining the display goes to ScreenMus. . Creating the window moves to top_level_window_factory. As part of this I'm removing some functionality that staggered top level windows. I suspect this isn't used much and needs some changes. Will address this later. BUG=671246 TEST=none R=msw@chromium.org Review-Url: https://codereview.chromium.org/2642003002 Cr-Commit-Position: refs/heads/master@{#444745} Committed: https://chromium.googlesource.com/chromium/src/+/8a8ffd21bdd7e290cbe4587b64471d13e7bb40c3

Patch Set 1 #

Total comments: 46

Patch Set 2 : feedback #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+377 lines, -556 lines) Patch
M ash/mus/BUILD.gn View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/mus/bridge/wm_lookup_mus.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/bridge/wm_lookup_mus.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.h View 2 chunks +4 lines, -2 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 5 chunks +13 lines, -14 lines 0 comments Download
D ash/mus/root_window_controller.h View 1 chunk +0 lines, -102 lines 0 comments Download
D ash/mus/root_window_controller.cc View 1 chunk +0 lines, -245 lines 0 comments Download
D ash/mus/root_window_controller_unittest.cc View 1 chunk +0 lines, -54 lines 0 comments Download
M ash/mus/screen_mus.h View 1 2 chunks +12 lines, -1 line 0 comments Download
M ash/mus/screen_mus.cc View 1 chunk +22 lines, -1 line 0 comments Download
M ash/mus/test/wm_test_base.cc View 4 chunks +14 lines, -12 lines 0 comments Download
M ash/mus/test/wm_test_helper.h View 1 chunk +2 lines, -1 line 0 comments Download
M ash/mus/test/wm_test_helper.cc View 3 chunks +16 lines, -15 lines 0 comments Download
A ash/mus/top_level_window_factory.h View 1 1 chunk +39 lines, -0 lines 0 comments Download
A ash/mus/top_level_window_factory.cc View 1 1 chunk +193 lines, -0 lines 2 comments Download
A + ash/mus/top_level_window_factory_unittest.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M ash/mus/window_manager.h View 4 chunks +2 lines, -12 lines 0 comments Download
M ash/mus/window_manager.cc View 10 chunks +48 lines, -80 lines 0 comments Download
M ash/root_window_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
sky
3 years, 11 months ago (2017-01-18 21:28:00 UTC) #1
msw
mostly lg, some qs and minor comments. https://codereview.chromium.org/2642003002/diff/1/ash/mus/bridge/wm_lookup_mus.cc File ash/mus/bridge/wm_lookup_mus.cc (right): https://codereview.chromium.org/2642003002/diff/1/ash/mus/bridge/wm_lookup_mus.cc#newcode23 ash/mus/bridge/wm_lookup_mus.cc:23: RootWindowController* WmLookupMus::GetRootWindowControllerWithDisplayId( ...
3 years, 11 months ago (2017-01-18 23:31:27 UTC) #6
sky
I think I got them all. Thanks! https://codereview.chromium.org/2642003002/diff/1/ash/mus/bridge/wm_lookup_mus.cc File ash/mus/bridge/wm_lookup_mus.cc (right): https://codereview.chromium.org/2642003002/diff/1/ash/mus/bridge/wm_lookup_mus.cc#newcode23 ash/mus/bridge/wm_lookup_mus.cc:23: RootWindowController* WmLookupMus::GetRootWindowControllerWithDisplayId( ...
3 years, 11 months ago (2017-01-19 01:02:20 UTC) #7
msw
lgtm with a nit https://codereview.chromium.org/2642003002/diff/1/ash/mus/test/wm_test_base.cc File ash/mus/test/wm_test_base.cc (right): https://codereview.chromium.org/2642003002/diff/1/ash/mus/test/wm_test_base.cc#newcode96 ash/mus/test/wm_test_base.cc:96: return roots[0]->GetWindow()->GetDisplayNearestWindow(); On 2017/01/19 01:02:19, ...
3 years, 11 months ago (2017-01-19 01:20:33 UTC) #10
sky
https://codereview.chromium.org/2642003002/diff/20001/ash/mus/top_level_window_factory.cc File ash/mus/top_level_window_factory.cc (right): https://codereview.chromium.org/2642003002/diff/20001/ash/mus/top_level_window_factory.cc#newcode92 ash/mus/top_level_window_factory.cc:92: window_size.SetToMin(root_size); On 2017/01/19 01:20:33, msw (out 1-19) wrote: > ...
3 years, 11 months ago (2017-01-19 15:50:45 UTC) #13
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/2642003002/20001
3 years, 11 months ago (2017-01-19 15:51:08 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 15:56:09 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/8a8ffd21bdd7e290cbe4587b6447...

Powered by Google App Engine
This is Rietveld 408576698