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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/speech_rules/speech_rule_evaluator.js

Issue 924083004: Shorten Closure template notation from Array.<*> to Array<*> in cvox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
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 Interface definition for a class which evaluates speech rules. 6 * @fileoverview Interface definition for a class which evaluates speech rules.
7 * 7 *
8 * A speech rule evaluator knows how to generate a description given a node and 8 * A speech rule evaluator knows how to generate a description given a node and
9 * a speech rule. 9 * a speech rule.
10 */ 10 */
11 11
12 goog.provide('cvox.SpeechRuleEvaluator'); 12 goog.provide('cvox.SpeechRuleEvaluator');
13 13
14 goog.require('cvox.SpeechRule'); 14 goog.require('cvox.SpeechRule');
15 15
16 16
17 /** 17 /**
18 * @interface 18 * @interface
19 */ 19 */
20 cvox.SpeechRuleEvaluator = goog.abstractMethod; 20 cvox.SpeechRuleEvaluator = goog.abstractMethod;
21 21
22 22
23 /** 23 /**
24 * Default evaluation of a node if no speech rule is applicable. 24 * Default evaluation of a node if no speech rule is applicable.
25 * @param {!Node} node The target node (or root of subtree). 25 * @param {!Node} node The target node (or root of subtree).
26 * @return {!Array.<cvox.NavDescription>} The resulting description. 26 * @return {!Array<cvox.NavDescription>} The resulting description.
27 */ 27 */
28 cvox.SpeechRuleEvaluator.prototype.evaluateDefault = goog.abstractMethod; 28 cvox.SpeechRuleEvaluator.prototype.evaluateDefault = goog.abstractMethod;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698