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

Issue 2568413002: Revert of ash: Use system tray mojo interface to show system update tray icon (Closed)

Created:
4 years ago by Yuta Kitamura
Modified:
4 years ago
CC:
chromium-reviews, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of ash: Use system tray mojo interface to show system update tray icon (patchset #6 id:100001 of https://codereview.chromium.org/2558043006/ ) Reason for revert: Broke compile on Google Chrome ChromeOS: https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20ChromeOS/builds/26896 ../../chrome/browser/component_updater/pepper_flash_component_installer.cc:94:3: error: no type named 'SystemTrayClient' in namespace 'chromeos'; did you mean simply 'SystemTrayClient'? chromeos::SystemTrayClient* tray = chromeos::SystemTrayClient::Get(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ SystemTrayClient ../../chrome/browser/ui/ash/system_tray_client.h:27:7: note: 'SystemTrayClient' declared here class SystemTrayClient : public ash::mojom::SystemTrayClient, ^ ../../chrome/browser/component_updater/pepper_flash_component_installer.cc:94:38: error: no member named 'SystemTrayClient' in namespace 'chromeos'; did you mean simply 'SystemTrayClient'? chromeos::SystemTrayClient* tray = chromeos::SystemTrayClient::Get(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ SystemTrayClient ../../chrome/browser/ui/ash/system_tray_client.h:27:7: note: 'SystemTrayClient' declared here class SystemTrayClient : public ash::mojom::SystemTrayClient, ^ 2 errors generated. Original issue's description: > ash: Use system tray mojo interface to show system update tray icon > > Change the flow so that Chrome explicitly asks ash to show the icon > rather than having ash ask Chrome whether there is an update available. > > * Add ShowUpdateIcon to system_tray.mojom > * Introduce update.mojom > * Migrate ash to using ash::mojom::UpdateSeverity internally > * Migrate update methods from SystemTrayDelegate to SystemTrayClient > * Add a new SystemTrayClientTest and move existing Flash test there > > Also add docs for SystemTrayItem (used by TrayUpdate) since tray view > vs. default view vs. detailed view always confuses me. > > BUG=647412 > TEST=chrome browser_tests, ash_unittests > > Committed: https://crrev.com/196ee3b66b3700733cecb8472d63d872d99e3783 > Cr-Commit-Position: refs/heads/master@{#438051} TBR=msw@chromium.org,kerrnel@chromium.org,tsepez@chromium.org,waffles@chromium.org,sky@chromium.org,jamescook@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=647412 Committed: https://crrev.com/9dac09552e919158ba3654c64155dc0903bb8ace Cr-Commit-Position: refs/heads/master@{#438064}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+317 lines, -272 lines) Patch
M ash/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/system/tray/default_system_tray_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/system/tray/default_system_tray_delegate.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M ash/common/system/tray/system_tray.h View 2 chunks +1 line, -2 lines 0 comments Download
M ash/common/system/tray/system_tray.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/common/system/tray/system_tray_controller.h View 1 chunk +2 lines, -4 lines 0 comments Download
M ash/common/system/tray/system_tray_controller.cc View 2 chunks +0 lines, -16 lines 0 comments Download
M ash/common/system/tray/system_tray_delegate.h View 2 chunks +21 lines, -0 lines 0 comments Download
M ash/common/system/tray/system_tray_delegate.cc View 2 chunks +13 lines, -0 lines 0 comments Download
M ash/common/system/tray/system_tray_item.h View 2 chunks +0 lines, -5 lines 0 comments Download
M ash/common/system/tray/system_tray_notifier.h View 4 chunks +8 lines, -4 lines 0 comments Download
M ash/common/system/tray/system_tray_notifier.cc View 2 chunks +14 lines, -0 lines 0 comments Download
M ash/common/system/tray/tray_image_item.h View 2 chunks +0 lines, -2 lines 0 comments Download
M ash/common/system/update/tray_update.h View 2 chunks +5 lines, -22 lines 0 comments Download
M ash/common/system/update/tray_update.cc View 6 chunks +38 lines, -48 lines 0 comments Download
M ash/common/system/update/tray_update_unittest.cc View 2 chunks +12 lines, -6 lines 0 comments Download
A ash/common/system/update/update_observer.h View 1 chunk +23 lines, -0 lines 0 comments Download
M ash/common/test/test_system_tray_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/test/test_system_tray_delegate.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M ash/public/interfaces/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ash/public/interfaces/system_tray.mojom View 2 chunks +0 lines, -7 lines 0 comments Download
D ash/public/interfaces/update.mojom View 1 chunk +0 lines, -17 lines 0 comments Download
M chrome/browser/component_updater/pepper_flash_component_installer.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.h View 5 chunks +1 line, -21 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.cc View 7 chunks +9 lines, -61 lines 0 comments Download
D chrome/browser/ui/ash/system_tray_client_browsertest.cc View 1 chunk +0 lines, -52 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 9 chunks +47 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc View 2 chunks +27 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/system_tray_delegate_utils.h View 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/system_tray_delegate_utils.cc View 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/browser/upgrade_detector.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 8 (4 generated)
Yuta Kitamura
Created Revert of ash: Use system tray mojo interface to show system update tray icon
4 years ago (2016-12-13 05:36:29 UTC) #2
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/2568413002/1
4 years ago (2016-12-13 05:36:51 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-13 05:38:28 UTC) #6
commit-bot: I haz the power
4 years ago (2016-12-13 05:40:39 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9dac09552e919158ba3654c64155dc0903bb8ace
Cr-Commit-Position: refs/heads/master@{#438064}

Powered by Google App Engine
This is Rietveld 408576698