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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate.cc

Issue 2507733004: Send screen on and off state as a11y alert (Closed)
Patch Set: alert when SetBacklightsForcedOff Created 4 years, 1 month 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 | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
index 9912fc992bf065200f431887240a7b334aaba0cf..9d462407fa66620ab9042a61bd7f99f92aebda23 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -290,6 +290,12 @@ class AccessibilityDelegateImpl : public ash::AccessibilityDelegate {
case ash::A11Y_ALERT_CAPS_OFF:
msg = IDS_A11Y_ALERT_CAPS_OFF;
break;
+ case ash::A11Y_ALERT_SCREEN_ON:
+ msg = IDS_A11Y_ALERT_SCREEN_ON;
+ break;
+ case ash::A11Y_ALERT_SCREEN_OFF:
+ msg = IDS_A11Y_ALERT_SCREEN_OFF;
+ break;
case ash::A11Y_ALERT_WINDOW_NEEDED:
msg = IDS_A11Y_ALERT_WINDOW_NEEDED;
break;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698