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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/search_widget.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/ui/search_widget.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/search_widget.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/search_widget.js
index e98e7f65bce52843ba8de804fe618d87d249e9e4..fec7fb1f88f44299e350fcd22d1483e1aa5e9747 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/search_widget.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/search_widget.js
@@ -418,7 +418,7 @@ cvox.SearchWidget.prototype.next_ = function(searchStr, opt_reversed) {
cvox.ChromeVox.navigationManager.setReversed(!!opt_reversed);
if (!success) {
cvox.ChromeVox.navigationManager.syncToBeginning();
- cvox.ChromeVox.earcons.playEarcon(cvox.AbstractEarcons.WRAP);
+ cvox.ChromeVox.earcons.playEarcon(cvox.Earcon.WRAP);
success = true;
}
} else {
@@ -444,7 +444,7 @@ cvox.SearchWidget.prototype.next_ = function(searchStr, opt_reversed) {
cvox.SearchWidget.prototype.outputSearchResult_ = function(result, searchStr) {
cvox.ChromeVox.tts.stop();
if (!result) {
- cvox.ChromeVox.earcons.playEarcon(cvox.AbstractEarcons.WRAP);
+ cvox.ChromeVox.earcons.playEarcon(cvox.Earcon.WRAP);
this.hasMatch_ = false;
return;
}

Powered by Google App Engine
This is Rietveld 408576698