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

Side by Side Diff: chrome/browser/resources/access_chromevox/audio/common/abstract_earcons_manager.js

Issue 6254007: Adding ChromeVox as a component extensions (enabled only for ChromeOS, for no... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months 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 | Annotate | Revision Log
Property Changes:
Added: svn:executable
+ *
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 /**
6 * @fileoverview This is the base class responsible for earcons management.
7 */
8
9 goog.provide('cvox.AbstractEarconsManager');
10
11 goog.require('cvox.AbstractEarcons');
12
13 /**
14 * @constructor
15 * @extends {cvox.AbstractEarcons}
16 */
17 cvox.AbstractEarconsManager = function() {
18 //Inherit AbstractEarcons
19 cvox.AbstractEarcons.call(this);
20 };
21 goog.inherits(cvox.AbstractEarconsManager, cvox.AbstractEarcons);
22
23 /**
24 * Switch to the next earcon set and optionally announce its name.
25 * If no earcon sets have been specified this function is a NOOP.
26 * @param {boolean} announce If true, will announce the name of the
27 * new earcon set.
28 */
29 cvox.AbstractEarconsManager.prototype.nextEarcons = function(announce) {
30 // TODO(svetoslavganov): Figure out if the user should be able to switch
31 // earcons and if not remove this method.
32 if (this.logEnabled()) {
33 this.log('[' + this.getName() + '] nextEarcons(' + announce + ')');
34 }
35 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698