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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.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/event_watcher.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js
index 3a3067cbd7e743cea700c9ea28568a97de64a37c..885c925369e74bd6f09fd5a812f16eec3635efb5 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js
@@ -162,7 +162,7 @@ cvox.ChromeVoxEventWatcher.init = function(doc) {
/**
* Array of events that need to be processed.
- * @type {Array.<Event>}
+ * @type {Array<Event>}
* @private
*/
cvox.ChromeVoxEventWatcher.events_ = new Array();
@@ -189,7 +189,7 @@ cvox.ChromeVoxEventWatcher.init = function(doc) {
/**
* A list of callbacks to be called when the EventWatcher has
* completed processing all events in its queue.
- * @type {Array.<function()>}
+ * @type {Array<function()>}
* @private
*/
cvox.ChromeVoxEventWatcher.readyCallbacks_ = new Array();
@@ -470,7 +470,7 @@ cvox.ChromeVoxEventWatcher.setLastFocusedNode_ = function(element) {
/**
* Called when there's any mutation of the document. We use this to
* handle live region updates.
- * @param {Array.<MutationRecord>} mutations The mutations.
+ * @param {Array<MutationRecord>} mutations The mutations.
* @return {boolean} True if the default action should be performed.
*/
cvox.ChromeVoxEventWatcher.mutationHandler = function(mutations) {
@@ -938,7 +938,7 @@ cvox.ChromeVoxEventWatcher.getInitialVisibility = function() {
/**
* Speaks the text of one live region.
* @param {boolean} assertive True if it's an assertive live region.
- * @param {Array.<cvox.NavDescription>} messages An array of navDescriptions
+ * @param {Array<cvox.NavDescription>} messages An array of navDescriptions
* representing the description of the live region changes.
* @private
*/

Powered by Google App Engine
This is Rietveld 408576698