| Index: chrome/browser/resources/access_chromevox/audio/common/abstract_earcons_manager.js
|
| ===================================================================
|
| --- chrome/browser/resources/access_chromevox/audio/common/abstract_earcons_manager.js (revision 0)
|
| +++ chrome/browser/resources/access_chromevox/audio/common/abstract_earcons_manager.js (revision 0)
|
| @@ -0,0 +1,35 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +/**
|
| + * @fileoverview This is the base class responsible for earcons management.
|
| + */
|
| +
|
| +goog.provide('cvox.AbstractEarconsManager');
|
| +
|
| +goog.require('cvox.AbstractEarcons');
|
| +
|
| +/**
|
| + * @constructor
|
| + * @extends {cvox.AbstractEarcons}
|
| + */
|
| +cvox.AbstractEarconsManager = function() {
|
| + //Inherit AbstractEarcons
|
| + cvox.AbstractEarcons.call(this);
|
| +};
|
| +goog.inherits(cvox.AbstractEarconsManager, cvox.AbstractEarcons);
|
| +
|
| +/**
|
| + * Switch to the next earcon set and optionally announce its name.
|
| + * If no earcon sets have been specified this function is a NOOP.
|
| + * @param {boolean} announce If true, will announce the name of the
|
| + * new earcon set.
|
| + */
|
| +cvox.AbstractEarconsManager.prototype.nextEarcons = function(announce) {
|
| + // TODO(svetoslavganov): Figure out if the user should be able to switch
|
| + // earcons and if not remove this method.
|
| + if (this.logEnabled()) {
|
| + this.log('[' + this.getName() + '] nextEarcons(' + announce + ')');
|
| + }
|
| +};
|
|
|
| Property changes on: chrome/browser/resources/access_chromevox/audio/common/abstract_earcons_manager.js
|
| ___________________________________________________________________
|
| Added: svn:executable
|
| + *
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|