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

Issue 2187513003: mash: Partially migrate ShelfLayoutManager to ash common types. (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 ShelfLayoutManager to ash common types. ActivationChangeObserver -> WmActivationObserver. Always create RootWindowControllerObserverImpl. Make RootWindowControllerObserverImpl add/remove itself. Compare display ids instead of root windows. Use wm::GetWindowForFullscreenMode instead of ash::RWC. Use WmLookup instead of WmWindowAura::Get. Use Widget::IsMouseEventsEnabled instead of CursorClient. Fix IWYU issues; remove unused forward decls/friends. BUG=631215 TEST=Automated tests; no behavior changes. R=jamescook@chromium.org Committed: https://crrev.com/a3c45128cb054e43525f64c05477d136ff89a708 Cr-Commit-Position: refs/heads/master@{#408271}

Patch Set 1 #

Patch Set 2 : Restore in_mus LayoutShelf on ShellObserver::OnShelfAlignmentChanged. #

Patch Set 3 : Sync and rebase. #

Total comments: 10

Patch Set 4 : Address comments; cache pointer for observer. #

Patch Set 5 : Sync and rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -103 lines) Patch
M ash/display/screen_ash.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/root_window_controller.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/screen_util.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/shelf/shelf_layout_manager.h View 1 2 3 4 chunks +11 lines, -32 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 3 13 chunks +37 lines, -58 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/shelf/shelf_widget_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/sysui/shelf_delegate_mus.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager_unittest.cc View 3 chunks +0 lines, -6 lines 0 comments Download
M ash/wm/dock/docked_window_resizer_unittest.cc View 4 chunks +1 line, -5 lines 0 comments Download
M ash/wm/workspace_controller_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
msw
Hey James, please take a look; thanks!
4 years, 4 months ago (2016-07-27 00:02:34 UTC) #3
James Cook
A couple questions. Also, the bots look unhappy. I've been bitten by WallpaperManagerBrowserTest.LoadCustomLargeWallpaperForLargeExternalScreen before when ...
4 years, 4 months ago (2016-07-27 03:15:11 UTC) #10
msw
Please take another look; thanks! (hopefully I fixed all the test crashes/failures) https://codereview.chromium.org/2187513003/diff/40001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc ...
4 years, 4 months ago (2016-07-27 22:31:18 UTC) #12
James Cook
LGTM
4 years, 4 months ago (2016-07-27 22:38:22 UTC) #15
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/2187513003/100001
4 years, 4 months ago (2016-07-27 22:41:17 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 4 months ago (2016-07-27 23:29:51 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 23:32:54 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a3c45128cb054e43525f64c05477d136ff89a708
Cr-Commit-Position: refs/heads/master@{#408271}

Powered by Google App Engine
This is Rietveld 408576698