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

Unified Diff: chrome/browser/resources/chromeos/chromevox/walkers/math_shifter.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/walkers/math_shifter.js
diff --git a/chrome/browser/resources/chromeos/chromevox/walkers/math_shifter.js b/chrome/browser/resources/chromeos/chromevox/walkers/math_shifter.js
index 6488bf7ca77560724ba367a814a4ccf75ed6dacb..0e1a2a594bb1b5e2d244f96f090ec6430ceb9f88 100644
--- a/chrome/browser/resources/chromeos/chromevox/walkers/math_shifter.js
+++ b/chrome/browser/resources/chromeos/chromevox/walkers/math_shifter.js
@@ -48,7 +48,7 @@ cvox.MathShifter = function(sel) {
*/
this.bumped_ = false;
-cvox.TraverseMath.getInstance().initialize(sel.start.node);
+ cvox.TraverseMath.getInstance().initialize(sel.start.node);
};
goog.inherits(cvox.MathShifter, cvox.AbstractShifter);
@@ -110,7 +110,7 @@ cvox.MathShifter.prototype.getBraille = function(prevSel, sel) {
*/
cvox.MathShifter.prototype.getGranularityMsg = function() {
return this.direction_ ? 'up to level ' + this.level_ :
- 'down to level ' + this.level_;
+ 'down to level ' + this.level_;
};
@@ -141,7 +141,7 @@ cvox.MathShifter.prototype.makeMoreGranular = function() {
*/
cvox.MathShifter.create = function(sel) {
if (cvox.DomPredicates.mathPredicate(
- cvox.DomUtil.getAncestors(sel.start.node))) {
+ cvox.DomUtil.getAncestors(sel.start.node))) {
var mathNode = cvox.DomUtil.getContainingMath(sel.end.node);
cvox.TraverseMath.getInstance().initialize(mathNode);
cvox.SpeechRuleEngine.getInstance().parameterize(

Powered by Google App Engine
This is Rietveld 408576698