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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/walkers/word_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
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/walkers/walker_unittest_base.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 one word at a time. 6 * @fileoverview A class for walking one word at a time.
7 */ 7 */
8 8
9 9
10 goog.provide('cvox.WordWalker'); 10 goog.provide('cvox.WordWalker');
11 11
12 goog.require('cvox.AbstractSelectionWalker'); 12 goog.require('cvox.AbstractSelectionWalker');
13 goog.require('cvox.TraverseContent'); 13 goog.require('cvox.TraverseContent');
14 14
15 /** 15 /**
16 * @constructor 16 * @constructor
17 * @extends {cvox.AbstractSelectionWalker} 17 * @extends {cvox.AbstractSelectionWalker}
18 */ 18 */
19 cvox.WordWalker = function() { 19 cvox.WordWalker = function() {
20 cvox.AbstractSelectionWalker.call(this); 20 cvox.AbstractSelectionWalker.call(this);
21 this.grain = cvox.TraverseContent.kWord; 21 this.grain = cvox.TraverseContent.kWord;
22 }; 22 };
23 goog.inherits(cvox.WordWalker, cvox.AbstractSelectionWalker); 23 goog.inherits(cvox.WordWalker, cvox.AbstractSelectionWalker);
24 24
25 /** 25 /**
26 * @override 26 * @override
27 */ 27 */
28 cvox.WordWalker.prototype.getGranularityMsg = function() { 28 cvox.WordWalker.prototype.getGranularityMsg = function() {
29 return cvox.ChromeVox.msgs.getMsg('word_granularity'); 29 return Msgs.getMsg('word_granularity');
30 }; 30 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/walkers/walker_unittest_base.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698