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

Unified Diff: chrome/browser/resources/chromeos/chromevox/braille/expanding_braille_translator.js

Issue 924083004: Shorten Closure template notation from Array.<*> to Array<*> in cvox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/braille/expanding_braille_translator.js
diff --git a/chrome/browser/resources/chromeos/chromevox/braille/expanding_braille_translator.js b/chrome/browser/resources/chromeos/chromevox/braille/expanding_braille_translator.js
index bfab6c0ae07554feb5de645987139560113b9ca2..24b28b42e341882f2c9e0797f639cec845eb6724 100644
--- a/chrome/browser/resources/chromeos/chromevox/braille/expanding_braille_translator.js
+++ b/chrome/browser/resources/chromeos/chromevox/braille/expanding_braille_translator.js
@@ -81,7 +81,7 @@ cvox.ExpandingBrailleTranslator.ExpansionType = {
* @param {!cvox.Spannable} text Text to translate.
* @param {cvox.ExpandingBrailleTranslator.ExpansionType} expansionType
* Indicates how the text marked by a value span, if any, is expanded.
- * @param {function(!ArrayBuffer, !Array.<number>, !Array.<number>)}
+ * @param {function(!ArrayBuffer, !Array<number>, !Array<number>)}
* callback Called when the translation is done. It takes resulting
* braille cells and positional mappings as parameters.
*/
@@ -192,7 +192,7 @@ cvox.ExpandingBrailleTranslator.rangeForPosition_ = function(
* @param {!cvox.Spannable} text Text to find expansion ranges in.
* @param {cvox.ExpandingBrailleTranslator.ExpansionType} expansionType
* Indicates how the text marked up as the value is expanded.
- * @return {!Array.<cvox.ExpandingBrailleTranslator.Range_>} The calculated
+ * @return {!Array<cvox.ExpandingBrailleTranslator.Range_>} The calculated
* ranges.
* @private
*/
@@ -228,7 +228,7 @@ cvox.ExpandingBrailleTranslator.prototype.findExpandRanges_ = function(
* @param {cvox.Spannable} text Text to find ranges in.
* @param {number} valueStart Start of the value in {@code text}.
* @param {number} valueEnd End of the value in {@code text}.
- * @param {Array.<cvox.ExpandingBrailleTranslator.Range_>} outRanges
+ * @param {Array<cvox.ExpandingBrailleTranslator.Range_>} outRanges
* Destination for the expansion ranges. Untouched if no ranges
* are found. Note that ranges may be coalesced.
* @private
@@ -282,9 +282,9 @@ cvox.ExpandingBrailleTranslator.prototype.addRangesForSelection_ = function(
* translation result is empty.
* @param {number} inputLength Length of the input to the translation.
* Used for populating {@code textToBraille} if null.
- * @param {function(!ArrayBuffer, !Array.<number>, !Array.<number>)} callback
+ * @param {function(!ArrayBuffer, !Array<number>, !Array<number>)} callback
* The callback to adapt.
- * @return {function(ArrayBuffer, Array.<number>, Array.<number>)}
+ * @return {function(ArrayBuffer, Array<number>, Array<number>)}
* An adapted version of the callback.
* @private
*/

Powered by Google App Engine
This is Rietveld 408576698