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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/host/interface/abstract_earcons.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 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/host/chrome/classic_earcons.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Base class for implementing earcons. 6 * @fileoverview Base class for implementing earcons.
7 * 7 *
8 * When adding earcons, please add them to getEarconName and getEarconId. 8 * When adding earcons, please add them to getEarconName and getEarconId.
9 * 9 *
10 */ 10 */
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 /** 66 /**
67 * Plays the specified earcon sound. 67 * Plays the specified earcon sound.
68 * @param {cvox.Earcon} earcon An earcon identifier. 68 * @param {cvox.Earcon} earcon An earcon identifier.
69 */ 69 */
70 cvox.AbstractEarcons.prototype.playEarcon = function(earcon) { 70 cvox.AbstractEarcons.prototype.playEarcon = function(earcon) {
71 }; 71 };
72 72
73 73
74 /** 74 /**
75 * Cancels the specified earcon sound.
76 * @param {cvox.Earcon} earcon An earcon identifier.
77 */
78 cvox.AbstractEarcons.prototype.cancelEarcon = function(earcon) {
79 };
80
81
82 /**
75 * Whether or not earcons are available. 83 * Whether or not earcons are available.
76 * @return {boolean} True if earcons are available. 84 * @return {boolean} True if earcons are available.
77 */ 85 */
78 cvox.AbstractEarcons.prototype.earconsAvailable = function() { 86 cvox.AbstractEarcons.prototype.earconsAvailable = function() {
79 return true; 87 return true;
80 }; 88 };
81 89
82 90
83 /** 91 /**
84 * Toggles earcons on or off. 92 * Toggles earcons on or off.
85 * @return {boolean} True if earcons are now enabled; false otherwise. 93 * @return {boolean} True if earcons are now enabled; false otherwise.
86 */ 94 */
87 cvox.AbstractEarcons.prototype.toggle = function() { 95 cvox.AbstractEarcons.prototype.toggle = function() {
88 cvox.AbstractEarcons.enabled = !cvox.AbstractEarcons.enabled; 96 cvox.AbstractEarcons.enabled = !cvox.AbstractEarcons.enabled;
89 return cvox.AbstractEarcons.enabled; 97 return cvox.AbstractEarcons.enabled;
90 }; 98 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/host/chrome/classic_earcons.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698