cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / chrome / browser / resources / chromeos / chromevox / speech_rules / speech_rule_evaluator.js
bloba355c81daf71d898dd92905bac79c8c0c1993cf6
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.
5 /**
6 * @fileoverview Interface definition for a class which evaluates speech rules.
8 * A speech rule evaluator knows how to generate a description given a node and
9 * a speech rule.
12 goog.provide('cvox.SpeechRuleEvaluator');
14 goog.require('cvox.SpeechRule');
17 /**
18 * @interface
20 cvox.SpeechRuleEvaluator = goog.abstractMethod;
23 /**
24 * Default evaluation of a node if no speech rule is applicable.
25 * @param {!Node} node The target node (or root of subtree).
26 * @return {!Array<cvox.NavDescription>} The resulting description.
28 cvox.SpeechRuleEvaluator.prototype.evaluateDefault = goog.abstractMethod;