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

Issue 2741403004: mash: Update LoginStatus with session state updates (Closed)

Created:
3 years, 9 months ago by James Cook
Modified:
3 years, 9 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Update LoginStatus with session state updates In classic ash, chrome calls WmShell::UpdateUserLoginStatus() directly, which updates the appearance of the system tray menu, status area notifications icon, etc. Fix mash so it updates LoginStatus as well so that the system tray menu works more similarly to classic ash. (For example, it now hides the notifications icon during oobe, hides the "sign out" item in the system tray menu at the login screen, etc.) BUG=699234, 648964 TEST=added to ash_unittests SessionControllerTest Review-Url: https://codereview.chromium.org/2741403004 Cr-Commit-Position: refs/heads/master@{#456540} Committed: https://chromium.googlesource.com/chromium/src/+/063733f75d45987b9db79b3e423603908bb558d0

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -3 lines) Patch
M ash/common/session/session_controller.h View 3 chunks +8 lines, -0 lines 0 comments Download
M ash/common/session/session_controller.cc View 3 chunks +63 lines, -0 lines 0 comments Download
M ash/common/session/session_controller_unittest.cc View 2 chunks +63 lines, -0 lines 0 comments Download
M ash/common/wm_shell.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M ash/mus/system_tray_delegate_mus.h View 2 chunks +2 lines, -3 lines 0 comments Download
M ash/mus/system_tray_delegate_mus.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M ash/shell.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
James Cook
xiyuan, please take a look. I called this a "hack" in the code, but I ...
3 years, 9 months ago (2017-03-13 22:36:45 UTC) #3
xiyuan
lgtm Cool
3 years, 9 months ago (2017-03-13 22:56:05 UTC) #6
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/2741403004/1
3 years, 9 months ago (2017-03-13 23:08:15 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-13 23:28:42 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/063733f75d45987b9db79b3e4236...

Powered by Google App Engine
This is Rietveld 408576698