|
Stop using shell::GetInstance()->system_tray() in system tray items
This CL provides all SystemTrayItem objects with a pointer to the parent
SystemTray and all Tray*View objects with a pointer to the parent
SystemTrayItem. This allows the objects to walk up the chain and access
the correct system tray once multiple system trays are introduced.
UpdateNagger::~UpdateNagger() in tray_update.cc continues to go through
shell::GetInstance() as the refactoring needed to support multiple system
trays here is more complex and out of my expertise.
BUG= 152928
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169141
Total comments: 9
Total comments: 10
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+236 lines, -189 lines) |
Patch |
 |
M |
ash/system/audio/tray_volume.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/audio/tray_volume.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/bluetooth/tray_bluetooth.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/bluetooth/tray_bluetooth.cc
|
View
|
1
2
|
4 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/system/brightness/tray_brightness.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/brightness/tray_brightness.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/network_detailed_view.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/network_list_detailed_view_base.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/network_list_detailed_view_base.cc
|
View
|
1
2
3
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_network.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_network.cc
|
View
|
1
2
3
4
5
|
11 chunks |
+23 lines, -18 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_sms.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_sms.cc
|
View
|
1
2
|
13 chunks |
+23 lines, -26 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_vpn.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_vpn.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/tray_display.h
|
View
|
1
2
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/tray_display.cc
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/date/tray_date.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/date/tray_date.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/system/drive/tray_drive.h
|
View
|
1
2
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/drive/tray_drive.cc
|
View
|
1
2
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/system/ime/tray_ime.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/ime/tray_ime.cc
|
View
|
1
2
|
6 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ash/system/locale/tray_locale.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/locale/tray_locale.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/system/logout_button/tray_logout_button.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/logout_button/tray_logout_button.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/monitor/tray_monitor.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/monitor/tray_monitor.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/power/tray_power.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/power/tray_power.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/system/settings/tray_settings.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/settings/tray_settings.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray.cc
|
View
|
1
|
2 chunks |
+20 lines, -19 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray_item.h
|
View
|
1
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray_item.cc
|
View
|
1
|
3 chunks |
+8 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_details_view.h
|
View
|
1
2
|
4 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_details_view.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_empty.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_empty.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_image_item.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_image_item.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_item_more.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_item_more.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_item_view.h
|
View
|
1
2
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_item_view.cc
|
View
|
1
2
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_notification_view.h
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_notification_view.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray_accessibility.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray_accessibility.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray_caps_lock.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray_caps_lock.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray_update.h
|
View
|
1
2
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray_update.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/system/user/tray_user.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/user/tray_user.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/wm/shelf_layout_manager_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 29 (0 generated)
|