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