Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/walkers/group_walker.js

Issue 1362223003: Improve braille related message descriptions and clean up message handling in Chromevox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@inputtypeexception
Patch Set: Move another braille message to Msgs.Untranslated Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698