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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/extensions/searchvox/search_tools.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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 /** 6 /**
7 * @fileoverview Uses ChromeVox API to access the search tools menu. 7 * @fileoverview Uses ChromeVox API to access the search tools menu.
8 */ 8 */
9 9
10 goog.provide('cvox.SearchTool'); 10 goog.provide('cvox.SearchTool');
(...skipping 11 matching lines...) Expand all
22 }; 22 };
23 23
24 /** 24 /**
25 * Index of the current menu in focus. 25 * Index of the current menu in focus.
26 * @type {number} 26 * @type {number}
27 */ 27 */
28 cvox.SearchTool.menuIndex; 28 cvox.SearchTool.menuIndex;
29 29
30 /** 30 /**
31 * Array of menus. 31 * Array of menus.
32 * @type {Array.<Node>} 32 * @type {Array<Node>}
33 */ 33 */
34 cvox.SearchTool.menus = []; 34 cvox.SearchTool.menus = [];
35 35
36 /** 36 /**
37 * Index of the current menu item in focus. 37 * Index of the current menu item in focus.
38 * @type {number} 38 * @type {number}
39 */ 39 */
40 cvox.SearchTool.menuItemIndex; 40 cvox.SearchTool.menuItemIndex;
41 41
42 /** 42 /**
43 * Array of menu items for the current menu. 43 * Array of menu items for the current menu.
44 * @type {Array.<Node>} 44 * @type {Array<Node>}
45 */ 45 */
46 cvox.SearchTool.menuItems = []; 46 cvox.SearchTool.menuItems = [];
47 47
48 /** 48 /**
49 * Id of the clear button. 49 * Id of the clear button.
50 * @type {string} 50 * @type {string}
51 */ 51 */
52 cvox.SearchTool.CLEAR_ID = 'hdtb_rst'; 52 cvox.SearchTool.CLEAR_ID = 'hdtb_rst';
53 53
54 /** 54 /**
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 cvox.SearchTool.gotoMenuItem(); 199 cvox.SearchTool.gotoMenuItem();
200 break; 200 break;
201 201
202 default: 202 default:
203 return false; 203 return false;
204 } 204 }
205 evt.preventDefault(); 205 evt.preventDefault();
206 evt.stopPropagation(); 206 evt.stopPropagation();
207 return true; 207 return true;
208 }; 208 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698