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

Issue 2625473002: Connect Login UI to SystemTray (Closed)

Created:
3 years, 11 months ago by jonross
Modified:
3 years, 11 months ago
CC:
chromium-reviews, alemate+watch_chromium.org, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, achuith+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, oshima+watch_chromium.org, kalyank, darin (slow to review), davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Connect Login UI to SystemTray WebuiLoginView toggles the visibility and enabled state of the SystemTray. However when running in mash it cannot directly access the tray. This change updates the system_tray.mojom to add the needed calls, and updates WebuiLoginView to use the mojom for both normal and mash modes. BUG=648758 TEST=ran associated browser tests, manual testing of login in normal and mash Review-Url: https://codereview.chromium.org/2625473002 Cr-Commit-Position: refs/heads/master@{#442430} Committed: https://chromium.googlesource.com/chromium/src/+/328a830cd41918893878cad3a5e33299b1727150

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rebase #

Patch Set 3 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -29 lines) Patch
M ash/common/system/tray/system_tray_controller.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/common/system/tray/system_tray_controller.cc View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
M ash/public/interfaces/system_tray.mojom View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_view.cc View 2 chunks +3 lines, -29 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
jonross
Hey James, Could you review this change? I'm adding a few items to the SystemTray ...
3 years, 11 months ago (2017-01-09 18:37:01 UTC) #2
James Cook
LGTM with nits https://codereview.chromium.org/2625473002/diff/1/ash/common/system/tray/system_tray_controller.cc File ash/common/system/tray/system_tray_controller.cc (right): https://codereview.chromium.org/2625473002/diff/1/ash/common/system/tray/system_tray_controller.cc#newcode131 ash/common/system/tray/system_tray_controller.cc:131: ash::SystemTray* tray = nit: no ash::, ...
3 years, 11 months ago (2017-01-09 19:30:05 UTC) #3
jonross
https://codereview.chromium.org/2625473002/diff/1/ash/common/system/tray/system_tray_controller.cc File ash/common/system/tray/system_tray_controller.cc (right): https://codereview.chromium.org/2625473002/diff/1/ash/common/system/tray/system_tray_controller.cc#newcode131 ash/common/system/tray/system_tray_controller.cc:131: ash::SystemTray* tray = On 2017/01/09 19:30:05, James Cook wrote: ...
3 years, 11 months ago (2017-01-09 22:01:35 UTC) #4
jonross
xiyuan@chromium.org: Please review changes in webui_login_view.cc Thanks, Jon
3 years, 11 months ago (2017-01-09 22:01:53 UTC) #6
xiyuan
webui_login_view.cc lgtm
3 years, 11 months ago (2017-01-09 22:08:50 UTC) #7
jonross
Hello tsepez@, Could you provide a security owners review for the changes to: ash/public/interfaces/system_tray.mojom Thanks, ...
3 years, 11 months ago (2017-01-09 22:14:05 UTC) #9
Tom Sepez
Mojom LGTM
3 years, 11 months ago (2017-01-09 23:27:46 UTC) #10
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/2625473002/40001
3 years, 11 months ago (2017-01-09 23:31:22 UTC) #13
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 00:57:46 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/328a830cd41918893878cad3a5e3...

Powered by Google App Engine
This is Rietveld 408576698