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

Issue 1964633002: Fix mash shelf alignment change layout regression. (Closed)

Created:
4 years, 7 months ago by msw
Modified:
4 years, 7 months ago
Reviewers:
James Cook, sky
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

Fix mash shelf alignment change layout regression. Perform ShelfLayout when the alignment changes in mash. Fixes a regression from https://codereview.chromium.org/1923983003 BUG=603369 TEST=Mash shelf lays out correctly after alignment changes. R=jamescook@chromium.org TBR=sky@chromium.org Committed: https://crrev.com/b444acaa9b30c266084bb42b4dbb91f34bc13f00 Cr-Commit-Position: refs/heads/master@{#392415}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use ash::Shell::GetInstance()->in_mus() instead. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M ash/shelf/shelf_layout_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 4 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
msw
Hey James, please take a look; thanks!
4 years, 7 months ago (2016-05-09 19:19:27 UTC) #2
James Cook
LGTM with a suggestion https://codereview.chromium.org/1964633002/diff/1/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/1964633002/diff/1/ash/shelf/shelf_layout_manager.cc#newcode525 ash/shelf/shelf_layout_manager.cc:525: if (aura::GetMusWindow(shelf_->GetNativeWindow())) I think ash::Shell::GetInstance()->in_mus() ...
4 years, 7 months ago (2016-05-09 19:39:36 UTC) #3
msw
+TBR'ing Scott for OWNERS review. https://codereview.chromium.org/1964633002/diff/1/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/1964633002/diff/1/ash/shelf/shelf_layout_manager.cc#newcode525 ash/shelf/shelf_layout_manager.cc:525: if (aura::GetMusWindow(shelf_->GetNativeWindow())) On 2016/05/09 ...
4 years, 7 months ago (2016-05-09 19:50:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1964633002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1964633002/20001
4 years, 7 months ago (2016-05-09 19:50:40 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-09 20:32:23 UTC) #11
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/b444acaa9b30c266084bb42b4dbb91f34bc13f00 Cr-Commit-Position: refs/heads/master@{#392415}
4 years, 7 months ago (2016-05-09 20:34:44 UTC) #13
sky
LGTM - thank for fixing this James!
4 years, 7 months ago (2016-05-12 15:06:22 UTC) #14
James Cook
4 years, 7 months ago (2016-05-12 15:58:05 UTC) #15
Message was sent while issue was closed.
On 2016/05/12 15:06:22, sky wrote:
> LGTM - thank for fixing this James!

For the record, msw fixed it, so kudos to him. :-)

Powered by Google App Engine
This is Rietveld 408576698