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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js

Issue 1306773003: Make earcon ids strings instead of numbers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_unused_earcons
Patch Set: Fixed test Created 5 years, 4 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
Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js
index b5638968f71d213027f943543caac96f98dafe0d..d4c228cb8acb10af62f0b51efeaf4ee248b22063 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js
@@ -1104,9 +1104,9 @@ cvox.ChromeVoxEventWatcher.handleControlChanged = function(control) {
announceChange = true;
// Play earcons for checkboxes and radio buttons
if (control.checked) {
- cvox.ChromeVox.earcons.playEarcon(cvox.AbstractEarcons.CHECK_ON);
+ cvox.ChromeVox.earcons.playEarcon(cvox.Earcon.CHECK_ON);
} else {
- cvox.ChromeVox.earcons.playEarcon(cvox.AbstractEarcons.CHECK_OFF);
+ cvox.ChromeVox.earcons.playEarcon(cvox.Earcon.CHECK_OFF);
}
}

Powered by Google App Engine
This is Rietveld 408576698