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

Issue 1760743002: Add simple mash context menu support. (Closed)

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

Description

Add simple mash context menu support. Add ash/mus/context_menu_mus.* for mash context menus. (populates local ash items like ash_shell_with_content) Tangential ShelfView refactoring (can be split). BUG=557406 TEST="chrome --mash" context menus appear. R=sky@chromium.org Committed: https://crrev.com/bc1cee6f1db69579e72287bdd1aca442ca904ec2 Cr-Commit-Position: refs/heads/master@{#382326}

Patch Set 1 #

Patch Set 2 : Get simple menu working; no real chrome delegation. #

Patch Set 3 : Get some basic menu items from chrome. #

Patch Set 4 : Resolve checked states; refine creation and heirarchy; support command execution. #

Patch Set 5 : Add ash context menu items within ash, using chrome profile info. #

Patch Set 6 : Try porting LauncherContextMenu items. #

Patch Set 7 : Rebase; use test items; cleanup. #

Total comments: 9

Patch Set 8 : Remove chrome delegation; address other comments. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -97 lines) Patch
M ash/mus/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M ash/mus/DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
A + ash/mus/context_menu_mus.h View 1 2 3 4 5 6 7 3 chunks +12 lines, -13 lines 0 comments Download
A ash/mus/context_menu_mus.cc View 1 2 3 4 5 6 7 1 chunk +59 lines, -0 lines 0 comments Download
M ash/mus/shell_delegate_mus.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -2 lines 0 comments Download
M ash/shelf/shelf_view.h View 1 2 3 4 5 2 chunks +4 lines, -7 lines 0 comments Download
M ash/shelf/shelf_view.cc View 1 2 3 4 5 6 7 5 chunks +36 lines, -72 lines 2 comments Download
M mash/screenlock/screenlock.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M mash/wm/window_manager.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 45 (30 generated)
msw
Hey Scott, please take a look, thanks!
4 years, 9 months ago (2016-03-18 19:29:07 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1760743002/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1760743002/400001
4 years, 9 months ago (2016-03-18 19:31:46 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/132095) linux_chromium_compile_dbg_ng on ...
4 years, 9 months ago (2016-03-18 19:37:26 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1760743002/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1760743002/420001
4 years, 9 months ago (2016-03-18 19:49:20 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/119677)
4 years, 9 months ago (2016-03-18 20:17:07 UTC) #28
sky
https://codereview.chromium.org/1760743002/diff/420001/ash/mus/context_menu_mus.cc File ash/mus/context_menu_mus.cc (right): https://codereview.chromium.org/1760743002/diff/420001/ash/mus/context_menu_mus.cc#newcode42 ash/mus/context_menu_mus.cc:42: context_menu_.WaitForIncomingResponse(); We shouldn't block here. There are two options ...
4 years, 9 months ago (2016-03-18 20:30:57 UTC) #29
sky
https://codereview.chromium.org/1760743002/diff/420001/mash/shelf/public/interfaces/context_menu.mojom File mash/shelf/public/interfaces/context_menu.mojom (right): https://codereview.chromium.org/1760743002/diff/420001/mash/shelf/public/interfaces/context_menu.mojom#newcode7 mash/shelf/public/interfaces/context_menu.mojom:7: struct ContextMenuItem { On 2016/03/18 20:30:57, sky wrote: > ...
4 years, 9 months ago (2016-03-18 20:31:34 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1760743002/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1760743002/460001
4 years, 9 months ago (2016-03-18 22:08:19 UTC) #33
msw
Please take another look; thanks! https://codereview.chromium.org/1760743002/diff/420001/ash/mus/context_menu_mus.cc File ash/mus/context_menu_mus.cc (right): https://codereview.chromium.org/1760743002/diff/420001/ash/mus/context_menu_mus.cc#newcode42 ash/mus/context_menu_mus.cc:42: context_menu_.WaitForIncomingResponse(); On 2016/03/18 20:30:57, ...
4 years, 9 months ago (2016-03-18 22:10:31 UTC) #35
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-19 00:26:11 UTC) #37
sky
LGTM https://codereview.chromium.org/1760743002/diff/460001/ash/shelf/shelf_view.cc File ash/shelf/shelf_view.cc (right): https://codereview.chromium.org/1760743002/diff/460001/ash/shelf/shelf_view.cc#newcode1842 ash/shelf/shelf_view.cc:1842: if (!got_deleted) { I don't understand why we ...
4 years, 9 months ago (2016-03-21 16:55:57 UTC) #38
msw
https://codereview.chromium.org/1760743002/diff/460001/ash/shelf/shelf_view.cc File ash/shelf/shelf_view.cc (right): https://codereview.chromium.org/1760743002/diff/460001/ash/shelf/shelf_view.cc#newcode1842 ash/shelf/shelf_view.cc:1842: if (!got_deleted) { On 2016/03/21 16:55:57, sky wrote: > ...
4 years, 9 months ago (2016-03-21 17:05:47 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1760743002/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1760743002/460001
4 years, 9 months ago (2016-03-21 17:06:22 UTC) #41
commit-bot: I haz the power
Committed patchset #8 (id:460001)
4 years, 9 months ago (2016-03-21 18:08:35 UTC) #43
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 18:10:06 UTC) #45
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/bc1cee6f1db69579e72287bdd1aca442ca904ec2
Cr-Commit-Position: refs/heads/master@{#382326}

Powered by Google App Engine
This is Rietveld 408576698