OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * @fileoverview A class for walking "groups". Groups, intuitively, are logical | 6 * @fileoverview A class for walking "groups". Groups, intuitively, are logical |
7 * collections of dom elements. See AbstractNodeWalker and the | 7 * collections of dom elements. See AbstractNodeWalker and the |
8 * stopNodeDescent() method here for how groups are defined. | 8 * stopNodeDescent() method here for how groups are defined. |
9 */ | 9 */ |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 * @override | 41 * @override |
42 */ | 42 */ |
43 cvox.GroupWalker.prototype.getBraille = function(prevSel, sel) { | 43 cvox.GroupWalker.prototype.getBraille = function(prevSel, sel) { |
44 throw 'getBraille is unsupported'; | 44 throw 'getBraille is unsupported'; |
45 }; | 45 }; |
46 | 46 |
47 /** | 47 /** |
48 * @override | 48 * @override |
49 */ | 49 */ |
50 cvox.GroupWalker.prototype.getGranularityMsg = function() { | 50 cvox.GroupWalker.prototype.getGranularityMsg = function() { |
51 return cvox.ChromeVox.msgs.getMsg('group_strategy'); | 51 return Msgs.getMsg('group_strategy'); |
52 }; | 52 }; |
53 | 53 |
54 /** | 54 /** |
55 * @override | 55 * @override |
56 */ | 56 */ |
57 cvox.GroupWalker.prototype.stopNodeDescent = function(node) { | 57 cvox.GroupWalker.prototype.stopNodeDescent = function(node) { |
58 return cvox.GroupUtil.isLeafNode(node); | 58 return cvox.GroupUtil.isLeafNode(node); |
59 }; | 59 }; |
OLD | NEW |