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

Issue 2046843005: mash: Migrate shelf menus to wm common types (Closed)

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

mash: Migrate shelf menus to wm common types This is a dependency of ShelfView. * Inject WmShelf into Shelf and ShelfView to start breaking up dependencies on Shelf. * Change ShellDelegate::CreateContextMenu() to use WmShelf. * Allow WmShelf to manipulate auto-hide state. * Move shelf menu UMA stats to common. I'll move the files into //ash/common in a separate CL so that the changes to shelf_alignment_menu.cc don't look like a rewrite. BUG=615155 TEST=existing ash_unittests and chrome unit_tests Committed: https://crrev.com/da53c1490a2ec1a040cefb23492cbc68d873162c Cr-Commit-Position: refs/heads/master@{#398735}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : comment #

Patch Set 4 : rebase, fix tests #

Patch Set 5 : ash_shell_with_content #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -142 lines) Patch
M ash/aura/wm_shelf_aura.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ash/aura/wm_shelf_aura.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M ash/common/shelf/wm_shelf.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ash/common/wm/wm_user_metrics_action.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/metrics/user_metrics_recorder.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ash/metrics/user_metrics_recorder.cc View 1 2 chunks +9 lines, -12 lines 0 comments Download
M ash/mus/bridge/wm_shelf_mus.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ash/mus/bridge/wm_shelf_mus.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download
M ash/root_window_controller.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M ash/shelf/shelf.h View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M ash/shelf/shelf.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
D ash/shelf/shelf_alignment_menu.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
D ash/shelf/shelf_alignment_menu.cc View 1 3 chunks +27 lines, -18 lines 0 comments Download
M ash/shelf/shelf_view.h View 1 3 chunks +12 lines, -5 lines 0 comments Download
M ash/shelf/shelf_view.cc View 1 4 chunks +9 lines, -3 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell/context_menu.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M ash/shell/context_menu.cc View 1 2 3 4 3 chunks +11 lines, -9 lines 0 comments Download
M ash/shell/shell_delegate_impl.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 1 chunk +3 lines, -4 lines 0 comments Download
M ash/shell_delegate.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M ash/sysui/context_menu_mus.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ash/sysui/context_menu_mus.cc View 1 3 chunks +10 lines, -9 lines 0 comments Download
M ash/sysui/shell_delegate_mus.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ash/sysui/shell_delegate_mus.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ash/test/shelf_test_api.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ash/test/test_shell_delegate.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ash/test/test_shell_delegate.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_launcher_context_menu.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_launcher_context_menu.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/extension_launcher_context_menu.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu.h View 1 4 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu.cc View 1 4 chunks +19 lines, -15 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc View 1 2 3 4 chunks +15 lines, -9 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
James Cook
sky, please take a look.
4 years, 6 months ago (2016-06-08 17:33:16 UTC) #5
sky
LGTM
4 years, 6 months ago (2016-06-08 20:09:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2046843005/60001
4 years, 6 months ago (2016-06-08 21:42:27 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/200546)
4 years, 6 months ago (2016-06-08 21:59:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2046843005/80001
4 years, 6 months ago (2016-06-08 22:42:59 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-08 23:39:13 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 23:40:56 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/da53c1490a2ec1a040cefb23492cbc68d873162c
Cr-Commit-Position: refs/heads/master@{#398735}

Powered by Google App Engine
This is Rietveld 408576698