cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / chrome / browser / resources / chromeos / chromevox / walkers / bare_object_walker.js
blobc45f3a8563b900948f382ff0f71f66bad37840c6
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 the leaf nodes of the dom.
7 * This is a bare class that tries to limit dependencies. It should only be used
8 * when traversal of the leaf nodes is required (e.g. by other walkers), but
9 * no other walker functionality (such as being able to describe the position).
10 * It should not be used for user-visible navigation.
14 goog.provide('cvox.BareObjectWalker');
16 goog.require('cvox.AbstractNodeWalker');
18 /**
19 * @constructor
20 * @extends {cvox.AbstractNodeWalker}
22 cvox.BareObjectWalker = function() {
23 goog.base(this);
25 goog.inherits(cvox.BareObjectWalker, cvox.AbstractNodeWalker);
27 /**
28 * @override
30 cvox.BareObjectWalker.prototype.stopNodeDescent = function(node) {
31 return cvox.DomUtil.isLeafNode(node);