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

Issue 2373863002: mustash: Connect ash system tray "show settings" items to chrome over mojo (Closed)

Created:
4 years, 2 months ago by James Cook
Modified:
4 years, 2 months ago
Reviewers:
Tom Sepez, msw, Ilya Sherman
CC:
chromium-reviews, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, asvitkine+watch_chromium.org, Aaron Boodman, oshima+watch_chromium.org, kalyank, darin (slow to review), stevenjb+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mustash: Connect ash system tray "show settings" items to chrome over mojo * Wire everything from SystemTrayDelegateMus -> ash::mojom::SystemTrayClient -> SystemTrayCommon * Rename ChangeProxySettings to ShowProxySettings for consistency with other methods * Eliminate SystemTrayDelegate::ShowSupervisedUserInfo - it has been unimplemented for 3 years * Removed unused SystemTrayDelegate::ChangeProfilePicture and associated URL and UMA metric While doing this I found a few items that will need to be refactored in chrome before they can be wired up. I left TODOs for them rather than skipping them because it will save me some work later. BUG=647412 TEST=ash_unittests, manual testing of system tray menu in chrome --mash Committed: https://crrev.com/9da5671dace9092f33d0c65a05162f9da5360d53 Cr-Commit-Position: refs/heads/master@{#421397}

Patch Set 1 #

Total comments: 9

Patch Set 2 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+362 lines, -83 lines) Patch
M ash/common/system/chromeos/network/network_state_list_detailed_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/supervised/tray_supervised_user.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/tray/system_tray_delegate.h View 3 chunks +1 line, -7 lines 0 comments Download
M ash/common/system/tray/system_tray_delegate.cc View 3 chunks +1 line, -5 lines 0 comments Download
M ash/mus/system_tray_delegate_mus.h View 1 1 chunk +17 lines, -2 lines 0 comments Download
M ash/mus/system_tray_delegate_mus.cc View 1 1 chunk +78 lines, -11 lines 0 comments Download
M ash/public/interfaces/system_tray.mojom View 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.h View 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.cc View 1 chunk +50 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_common.h View 1 chunk +38 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_common.cc View 1 2 chunks +100 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 3 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 10 chunks +21 lines, -51 lines 0 comments Download
M chrome/common/url_constants.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/url_constants.cc View 1 chunk +0 lines, -1 line 0 comments Download
M tools/metrics/actions/actions.xml View 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (11 generated)
James Cook
msw, please take a look. https://codereview.chromium.org/2373863002/diff/1/chrome/browser/ui/ash/system_tray_common.h File chrome/browser/ui/ash/system_tray_common.h (right): https://codereview.chromium.org/2373863002/diff/1/chrome/browser/ui/ash/system_tray_common.h#newcode14 chrome/browser/ui/ash/system_tray_common.h:14: class SystemTrayCommon { While ...
4 years, 2 months ago (2016-09-27 19:46:15 UTC) #4
msw
lgtm with nits https://codereview.chromium.org/2373863002/diff/1/ash/common/system/chromeos/supervised/tray_supervised_user.cc File ash/common/system/chromeos/supervised/tray_supervised_user.cc (right): https://codereview.chromium.org/2373863002/diff/1/ash/common/system/chromeos/supervised/tray_supervised_user.cc#newcode72 ash/common/system/chromeos/supervised/tray_supervised_user.cc:72: // TODO(antrim): find out what should ...
4 years, 2 months ago (2016-09-27 20:14:34 UTC) #5
James Cook
Thanks for the quick review. https://codereview.chromium.org/2373863002/diff/1/ash/common/system/chromeos/supervised/tray_supervised_user.cc File ash/common/system/chromeos/supervised/tray_supervised_user.cc (right): https://codereview.chromium.org/2373863002/diff/1/ash/common/system/chromeos/supervised/tray_supervised_user.cc#newcode72 ash/common/system/chromeos/supervised/tray_supervised_user.cc:72: // TODO(antrim): find out ...
4 years, 2 months ago (2016-09-27 20:48:59 UTC) #8
James Cook
tsepez, please take a look at //ash/public/interfaces/system_tray.mojom isherman, can I get a rubber-stamp for deprecating ...
4 years, 2 months ago (2016-09-27 20:49:35 UTC) #10
Tom Sepez
mojom LGTM
4 years, 2 months ago (2016-09-27 21:05:02 UTC) #11
Ilya Sherman
actions.xml lgtm
4 years, 2 months ago (2016-09-28 00:23:00 UTC) #14
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/2373863002/20001
4 years, 2 months ago (2016-09-28 00:27:39 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-28 00:35:12 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-09-28 00:39:28 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9da5671dace9092f33d0c65a05162f9da5360d53
Cr-Commit-Position: refs/heads/master@{#421397}

Powered by Google App Engine
This is Rietveld 408576698