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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/speech_rules/mathml_store.js

Issue 2943193002: Run clang-format on .js files in c/b/r/chromeos/chromevox (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 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 Speech rule store for mathml and mathjax trees. 6 * @fileoverview Speech rule store for mathml and mathjax trees.
7 */ 7 */
8 8
9 goog.provide('cvox.MathmlStore'); 9 goog.provide('cvox.MathmlStore');
10 10
(...skipping 21 matching lines...) Expand all
32 cvox.MathmlStore.prototype.defineMathmlRule = function(name, domain, rule) { 32 cvox.MathmlStore.prototype.defineMathmlRule = function(name, domain, rule) {
33 this.defineRule(name, domain, rule, 'self::mathml:' + name); 33 this.defineRule(name, domain, rule, 'self::mathml:' + name);
34 }; 34 };
35 35
36 36
37 /** 37 /**
38 * Adds a new MathML speech rule for the default.default domain. 38 * Adds a new MathML speech rule for the default.default domain.
39 * @param {string} name Rule name which corresponds to the MathML tag name. 39 * @param {string} name Rule name which corresponds to the MathML tag name.
40 * @param {string} rule String version of the speech rule. 40 * @param {string} rule String version of the speech rule.
41 */ 41 */
42 cvox.MathmlStore.prototype.defineDefaultMathmlRule = function(name, rule) { 42 cvox.MathmlStore.prototype.defineDefaultMathmlRule = function(name, rule) {
43 this.defineRule(name, 'default.default', rule, 'self::mathml:' + name); 43 this.defineRule(name, 'default.default', rule, 'self::mathml:' + name);
44 }; 44 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698