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

Issue 2491403003: chromeos: Move SystemTrayDelegate::RequestShutdown to WmShell (Closed)

Created:
4 years, 1 month ago by James Cook
Modified:
4 years, 1 month ago
Reviewers:
Daniel Erat
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Move SystemTrayDelegate::RequestShutdown to WmShell For mustash the chrome browser process cannot call directly into ash. The implementation of this method in chrome's SystemTrayDelegateChromeos just turns around and calls into ash::LockStateController. Moving the method allows ash to process these requests internally. The mus implementation is still NOTIMPLEMENTED because we don't have mus support for LockStateController and its animations. After removing another unused method this results in SystemTrayDelegateChromeos having no ash::Shell references. (It still uses ash::WmShell, though.) This is part 1 of moving shutdown handling out of chrome into ash. BUG=644348, 647412 TEST=Shutdown from system tray still works in classic ash Committed: https://crrev.com/04570b6023aeada35ead88f6488618be307793d1 Cr-Commit-Position: refs/heads/master@{#431323}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -24 lines) Patch
M ash/aura/wm_shell_aura.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/aura/wm_shell_aura.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M ash/common/system/date/date_default_view.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/common/system/tiles/tiles_default_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/tray/system_tray_delegate.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ash/common/system/tray/system_tray_delegate.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M ash/common/wm_shell.h View 1 chunk +6 lines, -0 lines 1 comment Download
M ash/mus/bridge/wm_shell_mus.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 3 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 3 chunks +0 lines, -12 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc View 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (6 generated)
James Cook
Dan, please take a look. This is part of my ongoing quest to break direct ...
4 years, 1 month ago (2016-11-10 19:00:22 UTC) #4
Daniel Erat
lgtm https://codereview.chromium.org/2491403003/diff/1/ash/common/wm_shell.h File ash/common/wm_shell.h (right): https://codereview.chromium.org/2491403003/diff/1/ash/common/wm_shell.h#newcode403 ash/common/wm_shell.h:403: // TODO(mash): Remove this method and call LockStateController ...
4 years, 1 month ago (2016-11-10 19:24:53 UTC) #5
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/2491403003/1
4 years, 1 month ago (2016-11-10 19:31:17 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-10 19:52:35 UTC) #9
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 20:10:45 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/04570b6023aeada35ead88f6488618be307793d1
Cr-Commit-Position: refs/heads/master@{#431323}

Powered by Google App Engine
This is Rietveld 408576698