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

Issue 1835403002: Support additional mash shelf alignments. (Closed)

Created:
4 years, 8 months ago by msw
Modified:
4 years, 8 months ago
Reviewers:
James Cook, sky
CC:
chromium-reviews, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support additional mash shelf alignments. Support left/bottom/right alignments in ash::wm::ShelfLayout. Propagate alignment changes with a new ShelfLayout interface. Add RootWindowController::GetLayoutManagerForContainer helper. TODO: Update preferred sizes with alignment to avoid flicker. BUG=595852 TEST=mash shelf supports left/bottom/right alignments (with some flicker). R=jamescook@chromium.org,sky@chromium.org Committed: https://crrev.com/68b18edb1ca481397ac2ccd95c40e201f657adfe Cr-Commit-Position: refs/heads/master@{#387679}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Sync and rebase. #

Patch Set 3 : Cleanup; address comments. #

Total comments: 6

Patch Set 4 : Sync and rebase. #

Patch Set 5 : Address comments. #

Total comments: 9

Patch Set 6 : Sync and rebase; address comments (sorry). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -56 lines) Patch
M ash/mus/shelf_delegate_mus.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M ash/mus/shelf_delegate_mus.cc View 1 2 3 4 5 4 chunks +36 lines, -22 lines 0 comments Download
M mash/shelf/public/interfaces/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M mash/shelf/public/interfaces/shelf.mojom View 1 2 3 4 5 2 chunks +1 line, -6 lines 0 comments Download
A mash/shelf/public/interfaces/shelf_constants.mojom View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M mash/wm/public/interfaces/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A mash/wm/public/interfaces/shelf_layout.mojom View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M mash/wm/root_window_controller.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M mash/wm/root_window_controller.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M mash/wm/shelf_layout.h View 1 2 3 4 5 2 chunks +10 lines, -1 line 0 comments Download
M mash/wm/shelf_layout.cc View 1 2 3 4 5 2 chunks +48 lines, -11 lines 0 comments Download
M mash/wm/window_manager_application.h View 1 2 3 4 5 4 chunks +21 lines, -9 lines 0 comments Download
M mash/wm/window_manager_application.cc View 1 2 3 4 5 4 chunks +31 lines, -7 lines 0 comments Download

Messages

Total messages: 36 (18 generated)
James Cook
I didn't really review this, and we talked offline, so just a couple things. https://codereview.chromium.org/1835403002/diff/1/mash/wm/public/interfaces/shelf_layout.mojom ...
4 years, 8 months ago (2016-03-29 00:28:30 UTC) #2
msw
Hey James, please take a look; thanks! (Scott said flickering on re-alignment seems ok for ...
4 years, 8 months ago (2016-04-11 22:20:27 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835403002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835403002/120001
4 years, 8 months ago (2016-04-11 22:21:49 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/17331) ios_dbg_simulator_ninja on ...
4 years, 8 months ago (2016-04-11 22:25:46 UTC) #12
James Cook
LGTM with nits https://codereview.chromium.org/1835403002/diff/120001/mash/wm/shelf_layout.cc File mash/wm/shelf_layout.cc (right): https://codereview.chromium.org/1835403002/diff/120001/mash/wm/shelf_layout.cc#newcode52 mash/wm/shelf_layout.cc:52: // TODO(msw): Place the status area ...
4 years, 8 months ago (2016-04-11 23:36:49 UTC) #13
msw
Hey Scott, please take a look; thanks! https://codereview.chromium.org/1835403002/diff/120001/mash/wm/shelf_layout.cc File mash/wm/shelf_layout.cc (right): https://codereview.chromium.org/1835403002/diff/120001/mash/wm/shelf_layout.cc#newcode52 mash/wm/shelf_layout.cc:52: // TODO(msw): ...
4 years, 8 months ago (2016-04-12 00:14:00 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/1835403002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835403002/160001
4 years, 8 months ago (2016-04-12 00:14:12 UTC) #18
msw
https://codereview.chromium.org/1835403002/diff/160001/mash/wm/window_manager_application.h File mash/wm/window_manager_application.h (right): https://codereview.chromium.org/1835403002/diff/160001/mash/wm/window_manager_application.h#newcode123 mash/wm/window_manager_application.h:123: // The ShelfLayout object is created once OnEmbed() is ...
4 years, 8 months ago (2016-04-12 00:33:17 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-12 01:05:13 UTC) #21
msw
Scott, friendly ping! Please take a look, thanks!
4 years, 8 months ago (2016-04-12 23:24:06 UTC) #22
sky
https://codereview.chromium.org/1835403002/diff/160001/mash/wm/public/interfaces/shelf_layout.mojom File mash/wm/public/interfaces/shelf_layout.mojom (right): https://codereview.chromium.org/1835403002/diff/160001/mash/wm/public/interfaces/shelf_layout.mojom#newcode8 mash/wm/public/interfaces/shelf_layout.mojom:8: enum ShelfAlignment { BOTTOM, LEFT, RIGHT, }; On 2016/04/12 ...
4 years, 8 months ago (2016-04-13 23:44:11 UTC) #23
msw
Hey Scott, please take another look; thanks! https://codereview.chromium.org/1835403002/diff/160001/mash/wm/public/interfaces/shelf_layout.mojom File mash/wm/public/interfaces/shelf_layout.mojom (right): https://codereview.chromium.org/1835403002/diff/160001/mash/wm/public/interfaces/shelf_layout.mojom#newcode8 mash/wm/public/interfaces/shelf_layout.mojom:8: enum ShelfAlignment ...
4 years, 8 months ago (2016-04-15 17:25:06 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835403002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835403002/180001
4 years, 8 months ago (2016-04-15 17:25:41 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-15 18:09:02 UTC) #28
sky
LGTM https://codereview.chromium.org/1835403002/diff/160001/mash/wm/window_manager_application.h File mash/wm/window_manager_application.h (right): https://codereview.chromium.org/1835403002/diff/160001/mash/wm/window_manager_application.h#newcode123 mash/wm/window_manager_application.h:123: // The ShelfLayout object is created once OnEmbed() ...
4 years, 8 months ago (2016-04-15 19:33:23 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835403002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835403002/180001
4 years, 8 months ago (2016-04-15 19:38:10 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years, 8 months ago (2016-04-15 19:43:49 UTC) #34
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 19:46:18 UTC) #36
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/68b18edb1ca481397ac2ccd95c40e201f657adfe
Cr-Commit-Position: refs/heads/master@{#387679}

Powered by Google App Engine
This is Rietveld 408576698