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

Unified Diff: remoting/webapp/app_remoting/js/keyboard_layouts_menu.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
Index: remoting/webapp/app_remoting/js/keyboard_layouts_menu.js
diff --git a/remoting/webapp/app_remoting/js/keyboard_layouts_menu.js b/remoting/webapp/app_remoting/js/keyboard_layouts_menu.js
index 49ede18a5fcf5dab6b3258304d6383c65a82fc67..3c82cdba82b9146284e1760ed7be63435de295d4 100644
--- a/remoting/webapp/app_remoting/js/keyboard_layouts_menu.js
+++ b/remoting/webapp/app_remoting/js/keyboard_layouts_menu.js
@@ -42,7 +42,7 @@ remoting.KeyboardLayoutsMenu = function(adapter) {
};
/**
- * @param {Array.<string>} layouts The keyboard layouts available on the host,
+ * @param {Array<string>} layouts The keyboard layouts available on the host,
* for example en-US, de-DE
* @param {string} currentLayout The layout currently active on the host.
*/
@@ -98,7 +98,7 @@ remoting.KeyboardLayoutsMenu.prototype.setLayout_ =
* will match either en-US or en-GB, whichever appears first).
* - Otherwise, use the host's current layout.
*
- * @param {Array.<string>} layouts
+ * @param {Array<string>} layouts
* @param {string} currentHostLayout
* @param {function(string):void} onDone
* @private
@@ -123,7 +123,7 @@ remoting.KeyboardLayoutsMenu.prototype.getBestLayout_ =
}
};
- /** @param {Object.<string>} storage */
+ /** @param {Object<string>} storage */
var chooseLayout = function(storage) {
var configuredLayout = storage[remoting.KeyboardLayoutsMenu.KEY_];
var tryLayouts = [ chrome.i18n.getUILanguage() ];
@@ -170,7 +170,7 @@ remoting.KeyboardLayoutsMenu.prototype.makeMenuId_ = function(layout) {
* @private
*/
remoting.KeyboardLayoutsMenu.prototype.onContextMenu_ = function(info) {
- /** @type {Array.<string>} */
+ /** @type {Array<string>} */
var components = info.menuItemId.split('@');
if (components.length == 2 &&
this.makeMenuId_(components[1]) == info.menuItemId) {
« no previous file with comments | « remoting/webapp/app_remoting/js/idle_detector.js ('k') | remoting/webapp/app_remoting/js/window_activation_menu.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698