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 A class for walking rows. 7 */ 8 9 10goog.provide('cvox.RowWalker'); 11 12goog.require('cvox.TableWalker'); 13 14 15/** 16 * @constructor 17 * @extends {cvox.TableWalker} 18 */ 19cvox.RowWalker = function() { 20 goog.base(this); 21}; 22goog.inherits(cvox.RowWalker, cvox.TableWalker); 23 24 25/** 26 * @override 27 */ 28cvox.RowWalker.prototype.next = function(sel) { 29 return this.nextRow(sel); 30}; 31 32 33/** 34 * @override 35 */ 36cvox.RowWalker.prototype.getGranularityMsg = function() { 37 return cvox.ChromeVox.msgs.getMsg('row_granularity'); 38}; 39