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

Unified Diff: chrome/browser/resources/chromeos/chromevox/common/selection_util.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/common/selection_util.js
diff --git a/chrome/browser/resources/chromeos/chromevox/common/selection_util.js b/chrome/browser/resources/chromeos/chromevox/common/selection_util.js
index 74c5cc4b4b0ea0b58df62f21c89ae28b303cf9dc..3057d2efc9bec9e49bb50c523bace282cee140d6 100644
--- a/chrome/browser/resources/chromeos/chromevox/common/selection_util.js
+++ b/chrome/browser/resources/chromeos/chromevox/common/selection_util.js
@@ -207,7 +207,7 @@ cvox.SelectionUtil.isRangeValid = function(range) {
* Returns absolute top and left positions of an element.
*
* @param {!Node} node The element for which to compute the position.
- * @return {Array.<number>} Index 0 is the left; index 1 is the top.
+ * @return {Array<number>} Index 0 is the left; index 1 is the top.
* @private
*/
cvox.SelectionUtil.findPos_ = function(node) {
@@ -588,6 +588,7 @@ cvox.SelectionUtil.getText = function() {
* if you want i18n tests to pass.
*
* @return {string} The text.
+ * @private
*/
cvox.SelectionUtil.getSelectionText_ = function() {
return '' + window.getSelection();

Powered by Google App Engine
This is Rietveld 408576698