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

Issue 1576683002: Add rudimentary mash shelf functionality. (Closed)

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

Add rudimentary mash shelf functionality. Add UserWindow[Controller|Observer] interfaces and impls. Move shelf code from mojo:system_ui to mojo:shelf. Add views_examples and task_viewer buttons to the shelf. Show buttons for open user windows; they focus on press. Cleanup mash deps tree (move data_deps from all to shell). BUG=557406 TEST=mojo:mash_shell shelf has rudimentary functionality. R=sky@chromium.org Committed: https://crrev.com/85273d0c56790d470d9d002990da25ae6fb9c950 Cr-Commit-Position: refs/heads/master@{#369330}

Patch Set 1 #

Patch Set 2 : Add a button to open view_examples. #

Patch Set 3 : Sync and rebase #

Patch Set 4 : Add stub UserWindowManager. #

Patch Set 5 : Minor experimentation cleanup. #

Patch Set 6 : Rename system_ui files for shelf use. #

Patch Set 7 : Move UserWindowController interface to a separate mojom file. #

Patch Set 8 : Get a minimal observer pattern working. #

Patch Set 9 : Add window ids to button text, focus on click. #

Patch Set 10 : Cleanup #

Patch Set 11 : Sync and rebase. #

Total comments: 10

Patch Set 12 : Address comments. #

Total comments: 1

Patch Set 13 : Remove ScopedVector use. #

Patch Set 14 : git cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+422 lines, -200 lines) Patch
M mash/BUILD.gn View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
A + mash/shelf/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -3 lines 0 comments Download
A + mash/shelf/main.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
A + mash/shelf/shelf_application.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +9 lines, -9 lines 0 comments Download
A mash/shelf/shelf_application.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +53 lines, -0 lines 0 comments Download
A mash/shelf/shelf_view.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +62 lines, -0 lines 0 comments Download
A mash/shelf/shelf_view.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +98 lines, -0 lines 0 comments Download
M mash/shell/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -1 line 0 comments Download
M mash/shell/shell_application_delegate.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M mash/shell/shell_application_delegate.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -4 lines 0 comments Download
D mash/system_ui/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -35 lines 0 comments Download
D mash/system_ui/main.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -12 lines 0 comments Download
D mash/system_ui/system_ui.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -41 lines 0 comments Download
D mash/system_ui/system_ui.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -82 lines 0 comments Download
M mash/wm/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M mash/wm/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
A mash/wm/public/interfaces/user_window_controller.mojom View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +22 lines, -0 lines 0 comments Download
A mash/wm/user_window_controller_impl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +49 lines, -0 lines 0 comments Download
A mash/wm/user_window_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +63 lines, -0 lines 0 comments Download
M mash/wm/window_manager_application.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +19 lines, -2 lines 0 comments Download
M mash/wm/window_manager_application.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +29 lines, -5 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
msw
Hey Scott, please take a look; thanks!
4 years, 11 months ago (2016-01-13 20:16:10 UTC) #4
sky
https://codereview.chromium.org/1576683002/diff/220001/components/mus/public/interfaces/user_window_controller.mojom File components/mus/public/interfaces/user_window_controller.mojom (right): https://codereview.chromium.org/1576683002/diff/220001/components/mus/public/interfaces/user_window_controller.mojom#newcode1 components/mus/public/interfaces/user_window_controller.mojom:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
4 years, 11 months ago (2016-01-13 21:17:17 UTC) #5
msw
Please take another look; thanks! https://codereview.chromium.org/1576683002/diff/220001/components/mus/public/interfaces/user_window_controller.mojom File components/mus/public/interfaces/user_window_controller.mojom (right): https://codereview.chromium.org/1576683002/diff/220001/components/mus/public/interfaces/user_window_controller.mojom#newcode1 components/mus/public/interfaces/user_window_controller.mojom:1: // Copyright 2015 The ...
4 years, 11 months ago (2016-01-13 22:54:56 UTC) #8
sky
LGTM https://codereview.chromium.org/1576683002/diff/260001/mash/wm/window_manager_application.h File mash/wm/window_manager_application.h (right): https://codereview.chromium.org/1576683002/diff/260001/mash/wm/window_manager_application.h#newcode139 mash/wm/window_manager_application.h:139: ScopedVector<mojo::InterfaceRequest<mash::wm::mojom::UserWindowController>> ScopedVector is deprecated. See the header.
4 years, 11 months ago (2016-01-14 00:19:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1576683002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1576683002/300001
4 years, 11 months ago (2016-01-14 00:56:01 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_TIMED_OUT, no build URL) android_chromium_gn_compile_dbg on ...
4 years, 11 months ago (2016-01-14 03:01:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1576683002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1576683002/300001
4 years, 11 months ago (2016-01-14 04:56:50 UTC) #16
commit-bot: I haz the power
Committed patchset #14 (id:300001)
4 years, 11 months ago (2016-01-14 05:05:24 UTC) #18
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 05:06:39 UTC) #20
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/85273d0c56790d470d9d002990da25ae6fb9c950
Cr-Commit-Position: refs/heads/master@{#369330}

Powered by Google App Engine
This is Rietveld 408576698