| Index: chrome/browser/resources/chromeos/chromevox/host/chrome/classic_earcons.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/host/chrome/earcons_background.js b/chrome/browser/resources/chromeos/chromevox/host/chrome/classic_earcons.js
|
| similarity index 75%
|
| rename from chrome/browser/resources/chromeos/chromevox/host/chrome/earcons_background.js
|
| rename to chrome/browser/resources/chromeos/chromevox/host/chrome/classic_earcons.js
|
| index 500da1a1e4825b75a2782ed54ac0ad4690b922e8..c4fe4adbccee3da152643e1945ae68c34392ea48 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/host/chrome/earcons_background.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/host/chrome/classic_earcons.js
|
| @@ -9,7 +9,7 @@
|
| */
|
|
|
|
|
| -goog.provide('cvox.EarconsBackground');
|
| +goog.provide('cvox.ClassicEarcons');
|
|
|
| goog.require('cvox.AbstractEarcons');
|
|
|
| @@ -18,7 +18,7 @@ goog.require('cvox.AbstractEarcons');
|
| * @constructor
|
| * @extends {cvox.AbstractEarcons}
|
| */
|
| -cvox.EarconsBackground = function() {
|
| +cvox.ClassicEarcons = function() {
|
| goog.base(this);
|
|
|
| this.audioMap = new Object();
|
| @@ -26,13 +26,13 @@ cvox.EarconsBackground = function() {
|
| this.enabled = false;
|
| }
|
| };
|
| -goog.inherits(cvox.EarconsBackground, cvox.AbstractEarcons);
|
| +goog.inherits(cvox.ClassicEarcons, cvox.AbstractEarcons);
|
|
|
|
|
| /**
|
| * @return {string} The human-readable name of the earcon set.
|
| */
|
| -cvox.EarconsBackground.prototype.getName = function() {
|
| +cvox.ClassicEarcons.prototype.getName = function() {
|
| return 'ChromeVox earcons';
|
| };
|
|
|
| @@ -40,15 +40,15 @@ cvox.EarconsBackground.prototype.getName = function() {
|
| /**
|
| * @return {string} The base URL for loading earcons.
|
| */
|
| -cvox.EarconsBackground.prototype.getBaseUrl = function() {
|
| - return cvox.EarconsBackground.BASE_URL;
|
| +cvox.ClassicEarcons.prototype.getBaseUrl = function() {
|
| + return cvox.ClassicEarcons.BASE_URL;
|
| };
|
|
|
|
|
| /**
|
| * @override
|
| */
|
| -cvox.EarconsBackground.prototype.playEarcon = function(earcon) {
|
| +cvox.ClassicEarcons.prototype.playEarcon = function(earcon) {
|
| goog.base(this, 'playEarcon', earcon);
|
| if (!this.enabled) {
|
| return;
|
| @@ -78,4 +78,4 @@ cvox.EarconsBackground.prototype.playEarcon = function(earcon) {
|
| * The base URL for loading eracons.
|
| * @type {string}
|
| */
|
| -cvox.EarconsBackground.BASE_URL = 'chromevox/background/earcons/';
|
| +cvox.ClassicEarcons.BASE_URL = 'chromevox/background/earcons/';
|
|
|