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

Issue 2215223004: mash: Migrate ShelfLayoutManager ScreenUtil usage 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, oshima
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Migrate ShelfLayoutManager ScreenUtil usage to ash common types. Add WmShell::IsInUnifiedMode and GetFirstDisplay helpers. Migrate wm::GetShelfDisplayBoundsForWindow. Update ShelfLayoutManager ScreenUtil usage to ash/common. BUG=615155, 622480 TEST=Automated; no [unified] shelf layout changes. R=jamescook@chromium.org Committed: https://crrev.com/7626933226e5e892cbaf50590f0ca1367cf0d0e0 Cr-Commit-Position: refs/heads/master@{#410253}

Patch Set 1 #

Patch Set 2 : Replace ScreenUtil::GetShelfDisplayBoundsInRoot; debugging... #

Patch Set 3 : Cleanup. #

Total comments: 6

Patch Set 4 : Address comments; fix include. #

Patch Set 5 : Restore screen bounds conversion for app list. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -94 lines) Patch
M ash/app_list/app_list_presenter_delegate.cc View 1 2 3 4 2 chunks +7 lines, -5 lines 0 comments Download
M ash/aura/wm_shell_aura.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/aura/wm_shell_aura.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M ash/common/wm/wm_screen_util.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M ash/common/wm/wm_screen_util.cc View 1 2 3 2 chunks +15 lines, -0 lines 0 comments Download
M ash/common/wm_shell.h View 1 2 2 chunks +15 lines, -2 lines 0 comments Download
M ash/display/window_tree_host_manager_unittest.cc View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 1 2 chunks +14 lines, -1 line 0 comments Download
M ash/screen_util.h View 1 1 chunk +0 lines, -9 lines 0 comments Download
M ash/screen_util.cc View 1 1 chunk +0 lines, -26 lines 0 comments Download
M ash/screen_util_unittest.cc View 1 2 3 2 chunks +8 lines, -12 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 3 6 chunks +15 lines, -14 lines 0 comments Download
M ash/system/toast/toast_manager_unittest.cc View 1 2 3 6 chunks +6 lines, -10 lines 0 comments Download
M ash/wm/lock_window_state.cc View 1 2 3 3 chunks +6 lines, -12 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
msw
Hey James, please take a look; thanks! FYI Oshima, feel free to review; thanks!
4 years, 4 months ago (2016-08-05 23:33:28 UTC) #5
James Cook
LGTM with nit and an optional idea https://codereview.chromium.org/2215223004/diff/60001/ash/common/wm/wm_screen_util.cc File ash/common/wm/wm_screen_util.cc (right): https://codereview.chromium.org/2215223004/diff/60001/ash/common/wm/wm_screen_util.cc#newcode45 ash/common/wm/wm_screen_util.cc:45: } Just ...
4 years, 4 months ago (2016-08-05 23:51:25 UTC) #10
msw
https://codereview.chromium.org/2215223004/diff/60001/ash/common/wm/wm_screen_util.cc File ash/common/wm/wm_screen_util.cc (right): https://codereview.chromium.org/2215223004/diff/60001/ash/common/wm/wm_screen_util.cc#newcode45 ash/common/wm/wm_screen_util.cc:45: } On 2016/08/05 23:51:25, James Cook wrote: > Just ...
4 years, 4 months ago (2016-08-06 00:08:14 UTC) #11
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/2215223004/80001
4 years, 4 months ago (2016-08-06 00:08:49 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/256489)
4 years, 4 months ago (2016-08-06 01:12:17 UTC) #16
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/2215223004/100001
4 years, 4 months ago (2016-08-06 01:42:31 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 4 months ago (2016-08-06 02:26:07 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-08-06 02:27:42 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7626933226e5e892cbaf50590f0ca1367cf0d0e0
Cr-Commit-Position: refs/heads/master@{#410253}

Powered by Google App Engine
This is Rietveld 408576698