cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / chrome / browser / resources / chromeos / chromevox / walkers / word_walker.js
blobc308361ac552e24e21c17bbd256efccff7bf8be2
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 A class for walking one word at a time.
7 */
10 goog.provide('cvox.WordWalker');
12 goog.require('cvox.AbstractSelectionWalker');
13 goog.require('cvox.TraverseContent');
15 /**
16 * @constructor
17 * @extends {cvox.AbstractSelectionWalker}
19 cvox.WordWalker = function() {
20 cvox.AbstractSelectionWalker.call(this);
21 this.grain = cvox.TraverseContent.kWord;
23 goog.inherits(cvox.WordWalker, cvox.AbstractSelectionWalker);
25 /**
26 * @override
28 cvox.WordWalker.prototype.getGranularityMsg = function() {
29 return cvox.ChromeVox.msgs.getMsg('word_granularity');