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

Issue 2570033004: Reland: ash: Use system tray mojo interface to show system update tray icon (Closed)

Created:
4 years ago by James Cook
Modified:
4 years ago
Reviewers:
msw
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

Reland: ash: Use system tray mojo interface to show system update tray icon crrev.com/2558043006 was reverted for compile failure in the official build. I made a namespace mistake in a component updater file that is only compiled in official builds. Original description: 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 TBR=msw@chromium.org Committed: https://crrev.com/8054778c11c1a356d7588fa7d96b1964b68acc40 Cr-Commit-Position: refs/heads/master@{#438233}

Patch Set 1 #

Patch Set 2 : fix build #

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

Messages

Total messages: 12 (6 generated)
James Cook
TBR msw for fixing a namespace
4 years ago (2016-12-13 17:33:52 UTC) #3
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/2570033004/20001
4 years ago (2016-12-13 17:34:39 UTC) #5
msw
You should cite the previous issue in the cl desc, but lgtm
4 years ago (2016-12-13 17:52:50 UTC) #6
msw
Oh duh, you did, it just wasn't linkified :)
4 years ago (2016-12-13 17:53:10 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-13 18:36:03 UTC) #10
commit-bot: I haz the power
4 years ago (2016-12-13 18:39:43 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8054778c11c1a356d7588fa7d96b1964b68acc40
Cr-Commit-Position: refs/heads/master@{#438233}

Powered by Google App Engine
This is Rietveld 408576698