|
chromeos: Refactor system tray "show settings" commands to use mojo
Change the pattern of delegation to chrome to use mojom::SystemTrayClient.
This is more consistent with how we want to handle ash delegates going
forward. It eliminates a couple layers of indirection.
* Add wrapper methods to SystemTrayController in ash
* Remove Show* methods from SystemTrayDelegate in ash
* Delete SystemTrayCommon in chrome, move code to SystemTrayClient
Also delete unused tray_display.cc, left over from another cleanup CL
https://codereview.chromium.org/2217713002
BUG= 647412
TEST=existing browser_tests, manually verifying system tray help and
settings buttons open web UI in chrome
Committed: https://crrev.com/4dd7585b13a7fc40276b36efd33e85177aa45ebb
Cr-Commit-Position: refs/heads/master@{#422857}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+175 lines, -834 lines) |
Patch |
 |
M |
ash/common/system/chromeos/ime_menu/ime_menu_tray.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/chromeos/network/network_state_list_detailed_view.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/chromeos/palette/palette_tray.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/chromeos/power/dual_role_notification.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/chromeos/settings/tray_settings.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/chromeos/tray_tracing.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/date/date_default_view.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/ime/tray_ime_chromeos.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/system_tray_controller.h
|
View
|
|
1 chunk |
+14 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/system_tray_controller.cc
|
View
|
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/system_tray_delegate.h
|
View
|
|
3 chunks |
+0 lines, -36 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/system_tray_delegate.cc
|
View
|
|
3 chunks |
+0 lines, -24 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/tray_accessibility.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/user/user_card_view.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/screen_layout_observer.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
D |
ash/system/chromeos/tray_display.cc
|
View
|
|
1 chunk |
+0 lines, -482 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
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/system_tray_client.cc
|
View
|
|
2 chunks |
+67 lines, -14 lines |
2 comments
|
Download
|
 |
D |
chrome/browser/ui/ash/system_tray_common.h
|
View
|
|
1 chunk |
+0 lines, -63 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/ash/system_tray_common.cc
|
View
|
|
1 chunk |
+0 lines, -129 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/system_tray_delegate_chromeos.h
|
View
|
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
View
|
|
6 chunks |
+6 lines, -54 lines |
0 comments
|
Download
|
Total messages: 12 (6 generated)
|