Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / resources / chromeos / chromevox / walkers / sentence_walker.js
blobd6f8a3d73d959584c0f1184ee203a394edf6fa44
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 JavaScript class for walking sentences.
7  */
10 goog.provide('cvox.SentenceWalker');
12 goog.require('cvox.AbstractSelectionWalker');
13 goog.require('cvox.TraverseContent');
15 /**
16  * @constructor
17  * @extends {cvox.AbstractSelectionWalker}
18  */
19 cvox.SentenceWalker = function() {
20   cvox.AbstractSelectionWalker.call(this);
21   this.grain = cvox.TraverseContent.kSentence;
23 goog.inherits(cvox.SentenceWalker, cvox.AbstractSelectionWalker);
25 /**
26  * @override
27  */
28 cvox.SentenceWalker.prototype.getGranularityMsg = function() {
29   return cvox.ChromeVox.msgs.getMsg('sentence_granularity');