| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js
|
| index a22726f2c4888eae344c40bb32f7214fae36a109..9d2a6b4b25fc13bdea8fb336afe8d4e68072ba32 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/next_earcons.js
|
| @@ -90,7 +90,6 @@ NextEarcons.prototype = {
|
| this.engine_.cancelProgress();
|
| break;
|
| case cvox.Earcon.PAGE_START_LOADING:
|
| - // TODO(dmazzoni): only when the page has focus.
|
| this.engine_.startProgress();
|
| break;
|
| case cvox.Earcon.POP_UP_BUTTON:
|
| @@ -116,5 +115,16 @@ NextEarcons.prototype = {
|
| this.engine_.onWrap();
|
| break;
|
| }
|
| - }
|
| + },
|
| +
|
| + /**
|
| + * @override
|
| + */
|
| + cancelEarcon: function(earcon) {
|
| + switch (earcon) {
|
| + case cvox.Earcon.PAGE_START_LOADING:
|
| + this.engine_.cancelProgress();
|
| + break;
|
| + }
|
| + },
|
| };
|
|
|