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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.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/chromevox/injected/navigation_manager.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js
index 56b10fc161ca6dbbf73821af2394e68bf9163788..6dc66039f69254c3e4d1481792f1be972effd29e 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js
@@ -81,7 +81,7 @@ cvox.NavigationManager.prototype.reset = function() {
this.navSpeaker_ = new cvox.NavigationSpeaker();
/**
- * @type {!Array.<Object>}
+ * @type {!Array<Object>}
* @private
*/
this.shifterTypes_ = [cvox.NavigationShifter,
@@ -89,7 +89,7 @@ cvox.NavigationManager.prototype.reset = function() {
cvox.MathShifter];
/**
- * @type {!Array.<!cvox.AbstractShifter>}
+ * @type {!Array<!cvox.AbstractShifter>}
*/
this.shifterStack_ = [];
@@ -329,7 +329,7 @@ cvox.NavigationManager.prototype.hasNext_ = function() {
/**
* Delegates to NavigationShifter with current page state.
- * @param {function(Array.<Node>)} predicate A function taking an array
+ * @param {function(Array<Node>)} predicate A function taking an array
* of unique ancestor nodes as a parameter and returning a desired node.
* It returns null if that node can't be found.
* @param {string=} opt_predicateName The programmatic name that exists in
@@ -417,7 +417,7 @@ cvox.NavigationManager.prototype.togglePageSel = function() {
// which requires any extensive knowledge.
/**
* Delegates to NavigationShifter with the current page state.
- * @return {Array.<cvox.NavDescription>} The summary of the current position.
+ * @return {Array<cvox.NavDescription>} The summary of the current position.
*/
cvox.NavigationManager.prototype.getDescription = function() {
// Handle description of special content. Consider moving to DescriptionUtil.
@@ -633,7 +633,7 @@ cvox.NavigationManager.prototype.ensureNotSubnavigating = function() {
/**
* Delegates to NavigationSpeaker.
- * @param {Array.<cvox.NavDescription>} descriptionArray The array of
+ * @param {Array<cvox.NavDescription>} descriptionArray The array of
* NavDescriptions to speak.
* @param {cvox.QueueMode} initialQueueMode The initial queue mode.
* @param {Function} completionFunction Function to call when finished speaking.
@@ -894,7 +894,7 @@ cvox.NavigationManager.prototype.startNonCallbackReading_ =
* Unlike getDescription, this does not shorten the position based on the
* previous position.
*
- * @return {Array.<cvox.NavDescription>} The summary of the current position.
+ * @return {Array<cvox.NavDescription>} The summary of the current position.
*/
cvox.NavigationManager.prototype.getFullDescription = function() {
if (this.pageSel_) {

Powered by Google App Engine
This is Rietveld 408576698