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

Issue 2525813004: chromeos: Introduce SetClient() on ash::mojom::SystemTray interface (Closed)

Created:
4 years, 1 month ago by James Cook
Modified:
4 years ago
Reviewers:
Tom Sepez, sky
CC:
chromium-reviews, sadrul, qsr+mojo_chromium.org, viettrungluu+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

chromeos: Introduce SetClient() on ash::mojom::SystemTray interface Previously ash would make a direct connection to Chrome (content_browser) to handle showing system tray menu UI. This is a layering violation and makes it more difficult to run ash without chrome. Chrome's SystemTrayClient now explicitly registers itself with ash on startup. It no longer attempts to reconnect on error; my understanding is that chrome tolerating an ash crash is not a goal. BUG=none TEST=manual, can still open settings via system tray menu Committed: https://crrev.com/0ebd9e4860776fbf2ca94a34c2ecf8f2d7dc0aaf Cr-Commit-Position: refs/heads/master@{#434736}

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase onto vpn revert #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : remove logging #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -120 lines) Patch
M ash/common/system/tray/system_tray_controller.h View 1 2 3 2 chunks +3 lines, -20 lines 0 comments Download
M ash/common/system/tray/system_tray_controller.cc View 1 2 3 2 chunks +24 lines, -54 lines 0 comments Download
M ash/common/wm_shell.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M ash/public/interfaces/system_tray.mojom View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_manifest_overlay.json View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/chrome_interface_factory.cc View 4 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.h View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.cc View 1 2 3 chunks +14 lines, -28 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
James Cook
sky, please take a look. https://codereview.chromium.org/2525813004/diff/1/ash/common/system/tray/system_tray_controller.cc File ash/common/system/tray/system_tray_controller.cc (right): https://codereview.chromium.org/2525813004/diff/1/ash/common/system/tray/system_tray_controller.cc#newcode119 ash/common/system/tray/system_tray_controller.cc:119: LOG(ERROR) << "SystemTrayClient not ...
4 years, 1 month ago (2016-11-22 23:46:20 UTC) #3
sky
One question on the LOG(ERROR). https://codereview.chromium.org/2525813004/diff/40001/ash/common/system/tray/system_tray_controller.cc File ash/common/system/tray/system_tray_controller.cc (right): https://codereview.chromium.org/2525813004/diff/40001/ash/common/system/tray/system_tray_controller.cc#newcode119 ash/common/system/tray/system_tray_controller.cc:119: LOG(ERROR) << "SystemTrayClient not ...
4 years, 1 month ago (2016-11-23 01:27:10 UTC) #13
James Cook
sky, please take another look. https://codereview.chromium.org/2525813004/diff/40001/ash/common/system/tray/system_tray_controller.cc File ash/common/system/tray/system_tray_controller.cc (right): https://codereview.chromium.org/2525813004/diff/40001/ash/common/system/tray/system_tray_controller.cc#newcode119 ash/common/system/tray/system_tray_controller.cc:119: LOG(ERROR) << "SystemTrayClient not ...
4 years ago (2016-11-28 18:24:47 UTC) #15
sky
LGTM
4 years ago (2016-11-28 19:25:38 UTC) #16
James Cook
tsepez, can I get OWNERS for mojom?
4 years ago (2016-11-28 19:27:58 UTC) #18
Tom Sepez
But of course. LGTM.
4 years ago (2016-11-28 19:46:02 UTC) #19
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/2525813004/80001
4 years ago (2016-11-28 20:07:33 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years ago (2016-11-28 22:22:00 UTC) #23
commit-bot: I haz the power
4 years ago (2016-11-28 22:23:33 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0ebd9e4860776fbf2ca94a34c2ecf8f2d7dc0aaf
Cr-Commit-Position: refs/heads/master@{#434736}

Powered by Google App Engine
This is Rietveld 408576698