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

Unified Diff: remoting/webapp/js_proto/chrome_proto.js

Issue 917093003: Shorten Closure template notation from Array.<*> to Array<*>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cvox 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
« no previous file with comments | « remoting/webapp/crd/js/xmpp_connection.js ('k') | remoting/webapp/js_proto/dom_proto.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/js_proto/chrome_proto.js
diff --git a/remoting/webapp/js_proto/chrome_proto.js b/remoting/webapp/js_proto/chrome_proto.js
index 99fb4598dcf07a5c0f36efb445534f34e0ba9bea..afa0d036e2fe17ee6fc80d1b019a96e3d4022ace 100644
--- a/remoting/webapp/js_proto/chrome_proto.js
+++ b/remoting/webapp/js_proto/chrome_proto.js
@@ -43,7 +43,7 @@ chrome.app.window = {
*/
get: function(id) {},
/**
- * @return {Array.<AppWindow>}
+ * @return {Array<AppWindow>}
*/
getAll: function() {}
};
@@ -150,7 +150,7 @@ chrome.i18n = {};
/**
* @param {string} messageName
- * @param {(string|Array.<string>)=} opt_args
+ * @param {(string|Array<string>)=} opt_args
* @return {string}
*/
chrome.i18n.getMessage = function(messageName, opt_args) {};
@@ -174,21 +174,21 @@ chrome.storage.sync;
chrome.Storage = function() {};
/**
- * @param {string|Array.<string>|Object.<string>} items
- * @param {function(Object.<string>):void} callback
+ * @param {string|Array<string>|Object<string>} items
+ * @param {function(Object<string>):void} callback
* @return {void}
*/
chrome.Storage.prototype.get = function(items, callback) {};
/**
- * @param {Object.<string>} items
+ * @param {Object<string>} items
* @param {function():void=} opt_callback
* @return {void}
*/
chrome.Storage.prototype.set = function(items, opt_callback) {};
/**
- * @param {string|Array.<string>} items
+ * @param {string|Array<string>} items
* @param {function():void=} opt_callback
* @return {void}
*/
@@ -258,8 +258,8 @@ OnClickData.prototype.checked;
/** @type {Object} */
chrome.fileSystem = {
/**
- * @param {Object.<string>?} options
- * @param {function(Entry, Array.<FileEntry>):void} callback
+ * @param {Object<string>?} options
+ * @param {function(Entry, Array<FileEntry>):void} callback
*/
chooseEntry: function(options, callback) {},
/**
@@ -275,17 +275,17 @@ Entry.prototype.createWriter = function(callback) {};
/** @type {Object} */
chrome.identity = {
/**
- * @param {Object.<string>} parameters
+ * @param {Object<string>} parameters
* @param {function(string):void} callback
*/
getAuthToken: function(parameters, callback) {},
/**
- * @param {Object.<string>} parameters
+ * @param {Object<string>} parameters
* @param {function():void} callback
*/
removeCachedAuthToken: function(parameters, callback) {},
/**
- * @param {Object.<string>} parameters
+ * @param {Object<string>} parameters
* @param {function(string):void} callback
*/
launchWebAuthFlow: function(parameters, callback) {}
@@ -295,12 +295,12 @@ chrome.identity = {
/** @type {Object} */
chrome.permissions = {
/**
- * @param {Object.<string>} permissions
+ * @param {Object<string>} permissions
* @param {function(boolean):void} callback
*/
contains: function(permissions, callback) {},
/**
- * @param {Object.<string>} permissions
+ * @param {Object<string>} permissions
* @param {function(boolean):void} callback
*/
request: function(permissions, callback) {}
@@ -408,12 +408,12 @@ AppWindow.prototype.isFullscreen = function() {};
AppWindow.prototype.isMaximized = function() {};
/**
- * @param {{rects: Array.<ClientRect>}} rects
+ * @param {{rects: Array<ClientRect>}} rects
*/
AppWindow.prototype.setShape = function(rects) {};
/**
- * @param {{rects: Array.<ClientRect>}} rects
+ * @param {{rects: Array<ClientRect>}} rects
*/
AppWindow.prototype.setInputRegion = function(rects) {};
@@ -421,7 +421,7 @@ AppWindow.prototype.setInputRegion = function(rects) {};
var LaunchData = function() {
/** @type {string} */
this.id = '';
- /** @type {Array.<{type: string, entry: FileEntry}>} */
+ /** @type {Array<{type: string, entry: FileEntry}>} */
this.items = [];
};
@@ -484,7 +484,7 @@ chrome.cast.media.Media = function() {
/** @constructor */
chrome.cast.Session = function() {
- /** @type {Array.<chrome.cast.media.Media>} */
+ /** @type {Array<chrome.cast.media.Media>} */
this.media = [];
/** @type {string} */
« no previous file with comments | « remoting/webapp/crd/js/xmpp_connection.js ('k') | remoting/webapp/js_proto/dom_proto.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698