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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/host/interface/abstract_msgs.js

Issue 593133002: Refactor: remove a Chromevox abstract class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 6 years, 3 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 /**
6 * @fileoverview Defined the convenience function cvox.Msgs.getMsg.
7 */
8
9 goog.provide('cvox.AbstractMsgs');
10
11
12
13 /**
14 * @constructor
15 */
16 cvox.AbstractMsgs = function() { };
17
18
19
20 /**
21 * Return the current locale.
22 * @return {string} The locale.
23 */
24 cvox.AbstractMsgs.prototype.getLocale = function() { };
25
26
27 /**
28 * Returns the message with the given message id.
29 *
30 * If we can't find a message, throw an exception. This allows us to catch
31 * typos early.
32 *
33 * @param {string} message_id The id.
34 * @param {Array.<string>=} opt_subs Substitution strings.
35 * @return {string} The message.
36 */
37 cvox.AbstractMsgs.prototype.getMsg = function(message_id, opt_subs) {
38 };
39
40
41 /**
42 * Retuns a number formatted correctly.
43 *
44 * @param {number} num The number.
45 * @return {string} The number in the correct locale.
46 */
47 cvox.AbstractMsgs.prototype.getNumber = function(num) {
48 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698