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

Unified Diff: ash/system/chromeos/power/tray_power.cc

Issue 380943002: Added battery level and time to the status tray's accessible name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed old view before storing a new one Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/chromeos/power/power_status.cc ('k') | ash/system/chromeos/settings/tray_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/power/tray_power.cc
diff --git a/ash/system/chromeos/power/tray_power.cc b/ash/system/chromeos/power/tray_power.cc
index 5442266207180d7c327e7eca1ab552f5cc891ec1..e4f094f40f2c1ca3640a9fe75b94fd02106b0265 100644
--- a/ash/system/chromeos/power/tray_power.cc
+++ b/ash/system/chromeos/power/tray_power.cc
@@ -69,7 +69,7 @@ class PowerTrayView : public views::ImageView {
SetVisible(PowerStatus::Get()->IsBatteryPresent());
if (battery_alert) {
- accessible_name_ = PowerStatus::Get()->GetAccessibleNameString();
+ accessible_name_ = PowerStatus::Get()->GetAccessibleNameString(true);
NotifyAccessibilityEvent(ui::AX_EVENT_ALERT, true);
}
}
« no previous file with comments | « ash/system/chromeos/power/power_status.cc ('k') | ash/system/chromeos/settings/tray_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698