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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/earcon_engine.js

Issue 1455223003: Stop ChromeVox Next page loading sounds when page finishes loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@active_indicator_next
Patch Set: Fixed focus changing and removing all tabs, addressed other feedback Created 5 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
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/earcon_engine.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/earcon_engine.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/earcon_engine.js
index 83fd6b5578f72f1de6032a296076d5d02451c8cb..b6dc35242f628005aa6bf9a91b2f03a96f8f13f3 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/earcon_engine.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/earcon_engine.js
@@ -685,6 +685,10 @@ EarconEngine.prototype.generateProgressTickTocks_ = function() {
* explicitly canceled.
*/
EarconEngine.prototype.startProgress = function() {
+ if (this.progressIntervalID_) {
+ this.cancelProgress();
+ }
+
this.progressSources_ = [];
this.progressGain_ = 0.5;
this.progressTime_ = this.context_.currentTime;

Powered by Google App Engine
This is Rietveld 408576698