|
chromeos: Refactor system tray code into PowerStatus.
This attempts to clean up shared Ash system tray code
related to displaying the battery status by moving it into
the PowerStatus class. Other classes no longer use the
PowerSupplyStatus struct, and in a following change, I plan
to remove that struct entirely.
BUG= 254173
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209342
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+385 lines, -560 lines) |
Patch |
 |
M |
ash/system/chromeos/power/power_status.h
|
View
|
1
2
3
|
3 chunks |
+66 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/power/power_status.cc
|
View
|
|
4 chunks |
+168 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/power/power_status_unittest.cc
|
View
|
|
3 chunks |
+5 lines, -24 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/power/power_status_view.h
|
View
|
|
4 chunks |
+6 lines, -26 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/power/power_status_view.cc
|
View
|
|
8 chunks |
+43 lines, -119 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/power/tray_power.h
|
View
|
1
|
3 chunks |
+8 lines, -51 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/power/tray_power.cc
|
View
|
1
|
12 chunks |
+40 lines, -267 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/power/tray_power_unittest.cc
|
View
|
1
|
4 chunks |
+20 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/settings/tray_settings.h
|
View
|
|
3 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/settings/tray_settings.cc
|
View
|
|
6 chunks |
+20 lines, -25 lines |
0 comments
|
Download
|
 |
M |
chromeos/dbus/power_manager_client.cc
|
View
|
|
1 chunk |
+8 lines, -4 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|