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

Issue 2259153002: mash: Port ash_sysui ShelfDelegateMus impl to mojo:ash. (Closed)

Created:
4 years, 4 months ago by msw
Modified:
4 years, 3 months ago
Reviewers:
Tom Sepez, 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

mash: Port ash_sysui ShelfDelegateMus impl to mojo:ash. Migrate ash/sysui/shelf_delegate_mus.* to ash/mus. Move mash/shelf/public/interfaces to ash/public/interfaces. Merge shelf_constants.mojom and shelf.mojom. Add ShelfController/ShelfObserver multi-display support. Add ShelfObserver::OnShelfCreated mojo interface. Add EnumTraits for alignment and auto-hide behavior. Remove redundant ash/shelf_layout_manager* Inline RootWindowController::OnShelfWindowAvailable. BUG=557406, 614182, 615155, 616857 TEST=Mash shelf shows chrome icon; no cros changes. R=jamescook@chromium.org,sky@chromium.org TBR=tsepez@chromium.org Committed: https://crrev.com/828394031639b3305df4fbae8a41d6c730003262 Cr-Commit-Position: refs/heads/master@{#415378}

Patch Set 1 #

Patch Set 2 : Cleanup. #

Patch Set 3 : Add EnumTraits for shelf alignment and auto-hide behavior. #

Total comments: 6

Patch Set 4 : Address comments. #

Total comments: 2

Patch Set 5 : Sync and rebase. #

Patch Set 6 : Destroy the window manager app before tearing down MD controllers. #

Total comments: 2

Patch Set 7 : Sync and rebase. #

Patch Set 8 : No-op on invalid display ids in mash; add comments in chrome. #

Patch Set 9 : Sync and rebase. #

Patch Set 10 : Sync and rebase. #

Patch Set 11 : Sync and rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -922 lines) Patch
M ash/mus/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -4 lines 0 comments Download
M ash/mus/DEPS View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M ash/mus/root_window_controller.h View 1 3 chunks +2 lines, -6 lines 0 comments Download
M ash/mus/root_window_controller.cc View 1 2 3 4 5 6 7 8 5 chunks +11 lines, -26 lines 0 comments Download
A ash/mus/shelf_delegate_mus.h View 1 2 3 4 5 6 7 8 1 chunk +66 lines, -0 lines 0 comments Download
A + ash/mus/shelf_delegate_mus.cc View 1 2 3 4 5 6 7 8 9 chunks +68 lines, -99 lines 0 comments Download
D ash/mus/shelf_layout_manager.h View 1 1 chunk +0 lines, -49 lines 0 comments Download
D ash/mus/shelf_layout_manager.cc View 1 1 chunk +0 lines, -83 lines 0 comments Download
D ash/mus/shelf_layout_manager_delegate.h View 1 1 chunk +0 lines, -24 lines 0 comments Download
M ash/mus/shell_delegate_mus.cc View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -28 lines 0 comments Download
M ash/mus/test/wm_test_helper.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/window_manager_application.h View 1 2 3 4 5 6 7 8 9 4 chunks +11 lines, -4 lines 0 comments Download
M ash/mus/window_manager_application.cc View 1 2 3 4 5 6 7 8 9 3 chunks +13 lines, -1 line 0 comments Download
M ash/public/interfaces/BUILD.gn View 1 1 chunk +2 lines, -1 line 0 comments Download
A + ash/public/interfaces/shelf.mojom View 1 2 3 1 chunk +15 lines, -9 lines 0 comments Download
A ash/public/interfaces/shelf.typemap View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
A ash/public/interfaces/shelf_enum_traits.h View 1 2 1 chunk +88 lines, -0 lines 0 comments Download
A + ash/public/interfaces/typemaps.gni View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/sysui/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
D ash/sysui/shelf_delegate_mus.h View 1 chunk +0 lines, -74 lines 0 comments Download
D ash/sysui/shelf_delegate_mus.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -349 lines 0 comments Download
M ash/sysui/shell_delegate_mus.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -3 lines 0 comments Download
M ash/sysui/sysui_application.h View 4 chunks +0 lines, -8 lines 0 comments Download
M ash/sysui/sysui_application.cc View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -11 lines 0 comments Download
M chrome/app/mojo/chrome_manifest.json View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.h View 1 2 2 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.cc View 1 2 3 4 5 6 7 7 chunks +37 lines, -26 lines 0 comments Download
D mash/shelf/public/interfaces/BUILD.gn View 1 chunk +0 lines, -18 lines 0 comments Download
D mash/shelf/public/interfaces/shelf.mojom View 1 chunk +0 lines, -74 lines 0 comments Download
D mash/shelf/public/interfaces/shelf_constants.mojom View 1 chunk +0 lines, -11 lines 0 comments Download
M mojo/public/tools/bindings/chromium_bindings_configuration.gni View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 55 (39 generated)
msw
Hey James, please take a look; thanks!
4 years, 4 months ago (2016-08-19 22:13:09 UTC) #3
James Cook
LGTM with nits. Nice CL, great to see this coming together. https://codereview.chromium.org/2259153002/diff/40001/ash/public/interfaces/shelf.mojom File ash/public/interfaces/shelf.mojom (right): ...
4 years, 4 months ago (2016-08-19 22:43:31 UTC) #7
msw
Hey Scott, please take a look at chrome/*, mash/*, mojo/*. Hey Tom, please take a ...
4 years, 4 months ago (2016-08-19 23:05:55 UTC) #10
sky
LGTM https://codereview.chromium.org/2259153002/diff/60001/chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.cc File chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.cc (right): https://codereview.chromium.org/2259153002/diff/60001/chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.cc#newcode147 chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.cc:147: shelf_controller_->SetAlignment( Long term it seems like state about ...
4 years, 4 months ago (2016-08-20 16:32:33 UTC) #11
msw
Tom to TBR for minor mojom changes/moves. https://codereview.chromium.org/2259153002/diff/60001/chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.cc File chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.cc (right): https://codereview.chromium.org/2259153002/diff/60001/chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.cc#newcode147 chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.cc:147: shelf_controller_->SetAlignment( On ...
4 years, 4 months ago (2016-08-22 17:03: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/2259153002/60001
4 years, 4 months ago (2016-08-22 17:04:51 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/56090) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-22 17:07:17 UTC) #18
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/2259153002/80001
4 years, 4 months ago (2016-08-22 18:06:11 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/284212)
4 years, 4 months ago (2016-08-22 19:04:14 UTC) #23
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/2259153002/100001
4 years, 4 months ago (2016-08-22 22:16:57 UTC) #30
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/265432)
4 years, 4 months ago (2016-08-22 23:53:32 UTC) #32
Tom Sepez
One question, otherwise LGTM https://codereview.chromium.org/2259153002/diff/100001/ash/public/interfaces/shelf.mojom File ash/public/interfaces/shelf.mojom (right): https://codereview.chromium.org/2259153002/diff/100001/ash/public/interfaces/shelf.mojom#newcode32 ash/public/interfaces/shelf.mojom:32: OnShelfCreated(int64 display_id); When introducing a ...
4 years, 4 months ago (2016-08-23 00:01:35 UTC) #33
msw
FYI; This change causes our mash browser test to reliably crash, as its skia image ...
4 years, 4 months ago (2016-08-23 19:32:00 UTC) #34
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/2259153002/240001
4 years, 3 months ago (2016-08-30 17:48:17 UTC) #51
commit-bot: I haz the power
Committed patchset #11 (id:240001)
4 years, 3 months ago (2016-08-30 18:57:47 UTC) #53
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 18:59:19 UTC) #55
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/828394031639b3305df4fbae8a41d6c730003262
Cr-Commit-Position: refs/heads/master@{#415378}

Powered by Google App Engine
This is Rietveld 408576698