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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.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 Definitions for the Chromium extensions API used by ChromeVox. 7 * @fileoverview Definitions for the Chromium extensions API used by ChromeVox.
8 * 8 *
9 * @externs 9 * @externs
10 */ 10 */
(...skipping 19 matching lines...) Expand all
30 * @type {string|undefined} 30 * @type {string|undefined}
31 */ 31 */
32 chrome.extension.lastError.message; 32 chrome.extension.lastError.message;
33 33
34 34
35 /** @type {boolean|undefined} */ 35 /** @type {boolean|undefined} */
36 chrome.extension.inIncognitoContext; 36 chrome.extension.inIncognitoContext;
37 37
38 38
39 /** 39 /**
40 * @param {string|Object.<string>=} opt_extensionIdOrConnectInfo Either the 40 * @param {string|Object<string>=} opt_extensionIdOrConnectInfo Either the
41 * extensionId to connect to, in which case connectInfo params can be 41 * extensionId to connect to, in which case connectInfo params can be
42 * passed in the next optional argument, or the connectInfo params. 42 * passed in the next optional argument, or the connectInfo params.
43 * @param {Object.<string>=} opt_connectInfo The connectInfo object, 43 * @param {Object<string>=} opt_connectInfo The connectInfo object,
44 * if arg1 was the extensionId to connect to. 44 * if arg1 was the extensionId to connect to.
45 * @return {Port} New port. 45 * @return {Port} New port.
46 */ 46 */
47 chrome.extension.connect = function( 47 chrome.extension.connect = function(
48 opt_extensionIdOrConnectInfo, opt_connectInfo) {}; 48 opt_extensionIdOrConnectInfo, opt_connectInfo) {};
49 49
50 50
51 /** 51 /**
52 * @return {Window} The global JS object for the background page. 52 * @return {Window} The global JS object for the background page.
53 */ 53 */
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 * Oauth2 info in the manifest. 154 * Oauth2 info in the manifest.
155 * See http://developer.chrome.com/apps/app_identity.html#update_manifest. 155 * See http://developer.chrome.com/apps/app_identity.html#update_manifest.
156 * @constructor 156 * @constructor
157 */ 157 */
158 chrome.runtime.Manifest.Oauth2 = function() {}; 158 chrome.runtime.Manifest.Oauth2 = function() {};
159 159
160 160
161 /** @type {string} */ 161 /** @type {string} */
162 chrome.runtime.Manifest.Oauth2.prototype.client_id; 162 chrome.runtime.Manifest.Oauth2.prototype.client_id;
163 163
164 /**@type {!Array.<string>} */ 164 /**@type {!Array<string>} */
165 chrome.runtime.Manifest.Oauth2.prototype.scopes; 165 chrome.runtime.Manifest.Oauth2.prototype.scopes;
166 166
167 167
168 /** 168 /**
169 * http://developer.chrome.com/extensions/runtime.html#method-getManifest 169 * http://developer.chrome.com/extensions/runtime.html#method-getManifest
170 * @return {!chrome.runtime.Manifest} The full manifest file of the app or 170 * @return {!chrome.runtime.Manifest} The full manifest file of the app or
171 * extension. 171 * extension.
172 */ 172 */
173 chrome.runtime.getManifest = function() {}; 173 chrome.runtime.getManifest = function() {};
174 174
175 175
176 /** 176 /**
177 * @param {string} path A path to a resource within an extension expressed 177 * @param {string} path A path to a resource within an extension expressed
178 * relative to it's install directory. 178 * relative to it's install directory.
179 * @return {string} The fully-qualified URL to the resource. 179 * @return {string} The fully-qualified URL to the resource.
180 */ 180 */
181 chrome.runtime.getURL = function(path) {}; 181 chrome.runtime.getURL = function(path) {};
182 182
183 /** 183 /**
184 * @param {string|!Object.<string>=} opt_extensionIdOrConnectInfo Either the 184 * @param {string|!Object<string>=} opt_extensionIdOrConnectInfo Either the
185 * extensionId to connect to, in which case connectInfo params can be 185 * extensionId to connect to, in which case connectInfo params can be
186 * passed in the next optional argument, or the connectInfo params. 186 * passed in the next optional argument, or the connectInfo params.
187 * @param {!Object.<string>=} opt_connectInfo The connectInfo object, 187 * @param {!Object<string>=} opt_connectInfo The connectInfo object,
188 * if arg1 was the extensionId to connect to. 188 * if arg1 was the extensionId to connect to.
189 * @return {!Port} New port. 189 * @return {!Port} New port.
190 */ 190 */
191 chrome.runtime.connect = function( 191 chrome.runtime.connect = function(
192 opt_extensionIdOrConnectInfo, opt_connectInfo) {}; 192 opt_extensionIdOrConnectInfo, opt_connectInfo) {};
193 193
194 194
195 /** 195 /**
196 * @param {string|*} extensionIdOrMessage Either the extensionId to send the 196 * @param {string|*} extensionIdOrMessage Either the extensionId to send the
197 * message to, in which case the message is passed as the next arg, or the 197 * message to, in which case the message is passed as the next arg, or the
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 * @param {function(string): void} callback Callback function which accepts 318 * @param {function(string): void} callback Callback function which accepts
319 * the data URL string of a JPEG encoding of the visible area of the 319 * the data URL string of a JPEG encoding of the visible area of the
320 * captured tab. May be assigned to the 'src' property of an HTML Image 320 * captured tab. May be assigned to the 'src' property of an HTML Image
321 * element for display. 321 * element for display.
322 */ 322 */
323 chrome.tabs.captureVisibleTab = function(windowId, options, callback) {}; 323 chrome.tabs.captureVisibleTab = function(windowId, options, callback) {};
324 324
325 325
326 /** 326 /**
327 * @param {number} tabId Tab Id. 327 * @param {number} tabId Tab Id.
328 * @param {Object.<string>=} opt_connectInfo Info Object. 328 * @param {Object<string>=} opt_connectInfo Info Object.
329 */ 329 */
330 chrome.tabs.connect = function(tabId, opt_connectInfo) {}; 330 chrome.tabs.connect = function(tabId, opt_connectInfo) {};
331 331
332 332
333 /** 333 /**
334 * @param {Object} createProperties Info object. 334 * @param {Object} createProperties Info object.
335 * @param {function(Tab): void=} opt_callback The callback function. 335 * @param {function(Tab): void=} opt_callback The callback function.
336 */ 336 */
337 chrome.tabs.create = function(createProperties, opt_callback) {}; 337 chrome.tabs.create = function(createProperties, opt_callback) {};
338 338
(...skipping 19 matching lines...) Expand all
358 * @param {function(Tab): void} callback Callback. 358 * @param {function(Tab): void} callback Callback.
359 */ 359 */
360 chrome.tabs.get = function(tabId, callback) {}; 360 chrome.tabs.get = function(tabId, callback) {};
361 361
362 362
363 /** 363 /**
364 * Note: as of 2012-04-12, this function is no longer documented on 364 * Note: as of 2012-04-12, this function is no longer documented on
365 * the public web pages, but there are still existing usages 365 * the public web pages, but there are still existing usages
366 * 366 *
367 * @param {number?} windowId Window id. 367 * @param {number?} windowId Window id.
368 * @param {function(Array.<Tab>): void} callback Callback. 368 * @param {function(Array<Tab>): void} callback Callback.
369 */ 369 */
370 chrome.tabs.getAllInWindow = function(windowId, callback) {}; 370 chrome.tabs.getAllInWindow = function(windowId, callback) {};
371 371
372 372
373 /** 373 /**
374 * @param {function(Tab): void} callback Callback. 374 * @param {function(Tab): void} callback Callback.
375 */ 375 */
376 chrome.tabs.getCurrent = function(callback) {}; 376 chrome.tabs.getCurrent = function(callback) {};
377 377
378 378
379 /** 379 /**
380 * Note: as of 2012-04-12, this function is no longer documented on 380 * Note: as of 2012-04-12, this function is no longer documented on
381 * the public web pages, but there are still existing usages. 381 * the public web pages, but there are still existing usages.
382 * 382 *
383 * @param {number?} windowId Window id. 383 * @param {number?} windowId Window id.
384 * @param {function(Tab): void} callback Callback. 384 * @param {function(Tab): void} callback Callback.
385 */ 385 */
386 chrome.tabs.getSelected = function(windowId, callback) {}; 386 chrome.tabs.getSelected = function(windowId, callback) {};
387 387
388 388
389 /** 389 /**
390 * @param {Object.<string, (number|Array.<number>)>} highlightInfo 390 * @param {Object<string, (number|Array<number>)>} highlightInfo
391 * An object with 'windowId' (number) and 'tabs' 391 * An object with 'windowId' (number) and 'tabs'
392 * (number or array of numbers) keys. 392 * (number or array of numbers) keys.
393 * @param {function(Window): void} callback Callback function invoked 393 * @param {function(Window): void} callback Callback function invoked
394 * with each appropriate Window. 394 * with each appropriate Window.
395 */ 395 */
396 chrome.tabs.highlight = function(highlightInfo, callback) {}; 396 chrome.tabs.highlight = function(highlightInfo, callback) {};
397 397
398 398
399 /** 399 /**
400 * @param {number?} tabId Tab id. 400 * @param {number?} tabId Tab id.
401 * @param {Object?} details An object which may have 'code', 'file', 401 * @param {Object?} details An object which may have 'code', 'file',
402 * or 'allFrames' keys. 402 * or 'allFrames' keys.
403 * @param {function(): void=} opt_callback Callback function. 403 * @param {function(): void=} opt_callback Callback function.
404 */ 404 */
405 chrome.tabs.insertCSS = function(tabId, details, opt_callback) {}; 405 chrome.tabs.insertCSS = function(tabId, details, opt_callback) {};
406 406
407 407
408 /** 408 /**
409 * @param {number} tabId Tab id. 409 * @param {number} tabId Tab id.
410 * @param {Object.<string, number>} moveProperties An object with 'index' 410 * @param {Object<string, number>} moveProperties An object with 'index'
411 * and optional 'windowId' keys. 411 * and optional 'windowId' keys.
412 * @param {function(Tab): void=} opt_callback Callback. 412 * @param {function(Tab): void=} opt_callback Callback.
413 */ 413 */
414 chrome.tabs.move = function(tabId, moveProperties, opt_callback) {}; 414 chrome.tabs.move = function(tabId, moveProperties, opt_callback) {};
415 415
416 416
417 /** 417 /**
418 * @param {Object.<string, (number|string)>} queryInfo An object which may have 418 * @param {Object<string, (number|string)>} queryInfo An object which may have
419 * 'active', 'pinned', 'highlighted', 'status', 'title', 'url', 'windowId', 419 * 'active', 'pinned', 'highlighted', 'status', 'title', 'url', 'windowId',
420 * and 'windowType' keys. 420 * and 'windowType' keys.
421 * @param {function(Array.<Tab>): void=} opt_callback Callback. 421 * @param {function(Array<Tab>): void=} opt_callback Callback.
422 * @return {!Array.<Tab>} 422 * @return {!Array<Tab>}
423 */ 423 */
424 chrome.tabs.query = function(queryInfo, opt_callback) {}; 424 chrome.tabs.query = function(queryInfo, opt_callback) {};
425 425
426 426
427 /** 427 /**
428 * @param {number=} opt_tabId Tab id. 428 * @param {number=} opt_tabId Tab id.
429 * @param {Object.<string, boolean>=} opt_reloadProperties An object which 429 * @param {Object<string, boolean>=} opt_reloadProperties An object which
430 * may have a 'bypassCache' key. 430 * may have a 'bypassCache' key.
431 * @param {function(): void=} opt_callback The callback function invoked 431 * @param {function(): void=} opt_callback The callback function invoked
432 * after the tab has been reloaded. 432 * after the tab has been reloaded.
433 */ 433 */
434 chrome.tabs.reload = function(opt_tabId, opt_reloadProperties, opt_callback) {}; 434 chrome.tabs.reload = function(opt_tabId, opt_reloadProperties, opt_callback) {};
435 435
436 436
437 /** 437 /**
438 * @param {number|Array.<number>} tabIds A tab ID or an array of tab IDs. 438 * @param {number|Array<number>} tabIds A tab ID or an array of tab IDs.
439 * @param {function(Tab): void=} opt_callback Callback. 439 * @param {function(Tab): void=} opt_callback Callback.
440 */ 440 */
441 chrome.tabs.remove = function(tabIds, opt_callback) {}; 441 chrome.tabs.remove = function(tabIds, opt_callback) {};
442 442
443 443
444 /** 444 /**
445 * @param {number} tabId Tab id. 445 * @param {number} tabId Tab id.
446 * @param {*} request The request value of any type. 446 * @param {*} request The request value of any type.
447 * @param {function(*): void=} opt_callback The callback function which 447 * @param {function(*): void=} opt_callback The callback function which
448 * takes a JSON response object sent by the handler of the request. 448 * takes a JSON response object sent by the handler of the request.
449 */ 449 */
450 chrome.tabs.sendMessage = function(tabId, request, opt_callback) {}; 450 chrome.tabs.sendMessage = function(tabId, request, opt_callback) {};
451 451
452 452
453 /** 453 /**
454 * @param {number} tabId Tab id. 454 * @param {number} tabId Tab id.
455 * @param {*} request The request value of any type. 455 * @param {*} request The request value of any type.
456 * @param {function(*): void=} opt_callback The callback function which 456 * @param {function(*): void=} opt_callback The callback function which
457 * takes a JSON response object sent by the handler of the request. 457 * takes a JSON response object sent by the handler of the request.
458 */ 458 */
459 chrome.tabs.sendRequest = function(tabId, request, opt_callback) {}; 459 chrome.tabs.sendRequest = function(tabId, request, opt_callback) {};
460 460
461 461
462 /** 462 /**
463 * @param {number} tabId Tab id. 463 * @param {number} tabId Tab id.
464 * @param {Object.<string, (string|boolean)>} updateProperties An object which 464 * @param {Object<string, (string|boolean)>} updateProperties An object which
465 * may have 'url' or 'selected' key. 465 * may have 'url' or 'selected' key.
466 * @param {function(Tab): void=} opt_callback Callback. 466 * @param {function(Tab): void=} opt_callback Callback.
467 */ 467 */
468 chrome.tabs.update = function(tabId, updateProperties, opt_callback) {}; 468 chrome.tabs.update = function(tabId, updateProperties, opt_callback) {};
469 469
470 470
471 /** @type {ChromeEvent} */ 471 /** @type {ChromeEvent} */
472 chrome.tabs.onActiveChanged; 472 chrome.tabs.onActiveChanged;
473 473
474 474
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 * @param {number} id Window id. 525 * @param {number} id Window id.
526 * @param {Object=} opt_getInfo May have 'populate' key. Or the callback. 526 * @param {Object=} opt_getInfo May have 'populate' key. Or the callback.
527 * @param {function(!ChromeWindow): void=} opt_callback Callback when 527 * @param {function(!ChromeWindow): void=} opt_callback Callback when
528 * opt_getInfo is an object. 528 * opt_getInfo is an object.
529 */ 529 */
530 chrome.windows.get = function(id, opt_getInfo, opt_callback) {}; 530 chrome.windows.get = function(id, opt_getInfo, opt_callback) {};
531 531
532 532
533 /** 533 /**
534 * @param {Object=} opt_getInfo May have 'populate' key. Or the callback. 534 * @param {Object=} opt_getInfo May have 'populate' key. Or the callback.
535 * @param {function(!Array.<!ChromeWindow>): void=} opt_callback Callback. 535 * @param {function(!Array<!ChromeWindow>): void=} opt_callback Callback.
536 */ 536 */
537 chrome.windows.getAll = function(opt_getInfo, opt_callback) {}; 537 chrome.windows.getAll = function(opt_getInfo, opt_callback) {};
538 538
539 539
540 /** 540 /**
541 * @param {Object=} opt_getInfo May have 'populate' key. Or the callback. 541 * @param {Object=} opt_getInfo May have 'populate' key. Or the callback.
542 * @param {function(ChromeWindow): void=} opt_callback Callback. 542 * @param {function(ChromeWindow): void=} opt_callback Callback.
543 */ 543 */
544 chrome.windows.getCurrent = function(opt_getInfo, opt_callback) { }; 544 chrome.windows.getCurrent = function(opt_getInfo, opt_callback) { };
545 545
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 chrome.windows.WINDOW_ID_CURRENT; 591 chrome.windows.WINDOW_ID_CURRENT;
592 592
593 593
594 /** 594 /**
595 * @const 595 * @const
596 */ 596 */
597 chrome.i18n = {}; 597 chrome.i18n = {};
598 598
599 599
600 /** 600 /**
601 * @param {function(Array.<string>): void} callback The callback function which 601 * @param {function(Array<string>): void} callback The callback function which
602 * accepts an array of the accept languages of the browser, such as 602 * accepts an array of the accept languages of the browser, such as
603 * 'en-US','en','zh-CN'. 603 * 'en-US','en','zh-CN'.
604 */ 604 */
605 chrome.i18n.getAcceptLanguages = function(callback) {}; 605 chrome.i18n.getAcceptLanguages = function(callback) {};
606 606
607 607
608 /** 608 /**
609 * @param {string} messageName 609 * @param {string} messageName
610 * @param {(string|Array.<string>)=} opt_args 610 * @param {(string|Array<string>)=} opt_args
611 * @return {string} 611 * @return {string}
612 */ 612 */
613 chrome.i18n.getMessage = function(messageName, opt_args) {}; 613 chrome.i18n.getMessage = function(messageName, opt_args) {};
614 614
615 615
616 /** 616 /**
617 * Chrome Text-to-Speech API. 617 * Chrome Text-to-Speech API.
618 * @const 618 * @const
619 */ 619 */
620 chrome.tts = {}; 620 chrome.tts = {};
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 657
658 658
659 /** @type {string} */ 659 /** @type {string} */
660 TtsVoice.prototype.gender; 660 TtsVoice.prototype.gender;
661 661
662 662
663 /** @type {string} */ 663 /** @type {string} */
664 TtsVoice.prototype.extensionId; 664 TtsVoice.prototype.extensionId;
665 665
666 666
667 /** @type {Array.<string>} */ 667 /** @type {Array<string>} */
668 TtsVoice.prototype.eventTypes; 668 TtsVoice.prototype.eventTypes;
669 669
670 670
671 /** 671 /**
672 * Gets an array of all available voices. 672 * Gets an array of all available voices.
673 * @param {function(Array.<TtsVoice>)=} opt_callback An optional callback 673 * @param {function(Array<TtsVoice>)=} opt_callback An optional callback
674 * function. 674 * function.
675 */ 675 */
676 chrome.tts.getVoices = function(opt_callback) {}; 676 chrome.tts.getVoices = function(opt_callback) {};
677 677
678 678
679 /** 679 /**
680 * Checks if the engine is currently speaking. 680 * Checks if the engine is currently speaking.
681 * @param {function(boolean)=} opt_callback The callback function. 681 * @param {function(boolean)=} opt_callback The callback function.
682 */ 682 */
683 chrome.tts.isSpeaking = function(opt_callback) {}; 683 chrome.tts.isSpeaking = function(opt_callback) {};
(...skipping 17 matching lines...) Expand all
701 chrome.tts.stop = function() {}; 701 chrome.tts.stop = function() {};
702 702
703 703
704 /** 704 /**
705 * @const 705 * @const
706 */ 706 */
707 chrome.history = {}; 707 chrome.history = {};
708 708
709 709
710 /** 710 /**
711 * @param {Object.<string, string>} details Object with a 'url' key. 711 * @param {Object<string, string>} details Object with a 'url' key.
712 */ 712 */
713 chrome.history.addUrl = function(details) {}; 713 chrome.history.addUrl = function(details) {};
714 714
715 715
716 /** 716 /**
717 * @param {function(): void} callback Callback function. 717 * @param {function(): void} callback Callback function.
718 */ 718 */
719 chrome.history.deleteAll = function(callback) {}; 719 chrome.history.deleteAll = function(callback) {};
720 720
721 721
722 /** 722 /**
723 * @param {Object.<string, string>} range Object with 'startTime' 723 * @param {Object<string, string>} range Object with 'startTime'
724 * and 'endTime' keys. 724 * and 'endTime' keys.
725 * @param {function(): void} callback Callback function. 725 * @param {function(): void} callback Callback function.
726 */ 726 */
727 chrome.history.deleteRange = function(range, callback) {}; 727 chrome.history.deleteRange = function(range, callback) {};
728 728
729 729
730 /** 730 /**
731 * @param {Object.<string, string>} details Object with a 'url' key. 731 * @param {Object<string, string>} details Object with a 'url' key.
732 */ 732 */
733 chrome.history.deleteUrl = function(details) {}; 733 chrome.history.deleteUrl = function(details) {};
734 734
735 735
736 /** 736 /**
737 * @param {Object.<string, string>} details Object with a 'url' key. 737 * @param {Object<string, string>} details Object with a 'url' key.
738 * @param {function(!Array.<!VisitItem>): void} callback Callback function. 738 * @param {function(!Array<!VisitItem>): void} callback Callback function.
739 * @return {!Array.<!VisitItem>} 739 * @return {!Array<!VisitItem>}
740 */ 740 */
741 chrome.history.getVisits = function(details, callback) {}; 741 chrome.history.getVisits = function(details, callback) {};
742 742
743 743
744 /** 744 /**
745 * @param {Object.<string, string>} query Object with a 'text' (string) 745 * @param {Object<string, string>} query Object with a 'text' (string)
746 * key and optional 'startTime' (number), 'endTime' (number) and 746 * key and optional 'startTime' (number), 'endTime' (number) and
747 * 'maxResults' keys. 747 * 'maxResults' keys.
748 * @param {function(!Array.<!HistoryItem>): void} callback Callback function. 748 * @param {function(!Array<!HistoryItem>): void} callback Callback function.
749 * @return {!Array.<!HistoryItem>} 749 * @return {!Array<!HistoryItem>}
750 */ 750 */
751 chrome.history.search = function(query, callback) {}; 751 chrome.history.search = function(query, callback) {};
752 752
753 753
754 /** @type {ChromeEvent} */ 754 /** @type {ChromeEvent} */
755 chrome.history.onVisitRemoved; 755 chrome.history.onVisitRemoved;
756 756
757 757
758 /** @type {ChromeEvent} */ 758 /** @type {ChromeEvent} */
759 chrome.history.onVisited; 759 chrome.history.onVisited;
760 760
761 761
762 /** 762 /**
763 * @const 763 * @const
764 */ 764 */
765 chrome.permissions = {}; 765 chrome.permissions = {};
766 766
767 767
768 /** 768 /**
769 * @typedef {{ 769 * @typedef {{
770 * permissions: (Array.<string>|undefined), 770 * permissions: (Array<string>|undefined),
771 * origins: (Array.<string>|undefined) 771 * origins: (Array<string>|undefined)
772 * }} 772 * }}
773 * @see http://developer.chrome.com/extensions/permissions.html#type-Permissions 773 * @see http://developer.chrome.com/extensions/permissions.html#type-Permissions
774 */ 774 */
775 chrome.permissions.Permissions; 775 chrome.permissions.Permissions;
776 776
777 777
778 /** 778 /**
779 * @param {!chrome.permissions.Permissions} permissions 779 * @param {!chrome.permissions.Permissions} permissions
780 * @param {function(boolean): void} callback Callback function. 780 * @param {function(boolean): void} callback Callback function.
781 */ 781 */
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 907
908 908
909 /** @type {number} */ 909 /** @type {number} */
910 ChromeWindow.prototype.width; 910 ChromeWindow.prototype.width;
911 911
912 912
913 /** @type {number} */ 913 /** @type {number} */
914 ChromeWindow.prototype.height; 914 ChromeWindow.prototype.height;
915 915
916 916
917 /** @type {Array.<Tab>} */ 917 /** @type {Array<Tab>} */
918 ChromeWindow.prototype.tabs; 918 ChromeWindow.prototype.tabs;
919 919
920 920
921 /** @type {boolean} */ 921 /** @type {boolean} */
922 ChromeWindow.prototype.incognito; 922 ChromeWindow.prototype.incognito;
923 923
924 924
925 /** @type {string} */ 925 /** @type {string} */
926 ChromeWindow.prototype.type; 926 ChromeWindow.prototype.type;
927 927
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 976
977 /** @type {ChromeEvent} */ 977 /** @type {ChromeEvent} */
978 Port.prototype.onMessage; 978 Port.prototype.onMessage;
979 979
980 980
981 /** @type {MessageSender} */ 981 /** @type {MessageSender} */
982 Port.prototype.sender; 982 Port.prototype.sender;
983 983
984 984
985 /** 985 /**
986 * @param {Object.<string>} obj Message object. 986 * @param {Object<string>} obj Message object.
987 */ 987 */
988 Port.prototype.postMessage = function(obj) {}; 988 Port.prototype.postMessage = function(obj) {};
989 989
990 990
991 /** 991 /**
992 * Note: as of 2012-04-12, this function is no longer documented on 992 * Note: as of 2012-04-12, this function is no longer documented on
993 * the public web pages, but there are still existing usages. 993 * the public web pages, but there are still existing usages.
994 */ 994 */
995 Port.prototype.disconnect = function() {}; 995 Port.prototype.disconnect = function() {};
996 996
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 1046
1047 1047
1048 /** @type {number} */ 1048 /** @type {number} */
1049 BookmarkTreeNode.prototype.dateAdded; 1049 BookmarkTreeNode.prototype.dateAdded;
1050 1050
1051 1051
1052 /** @type {number} */ 1052 /** @type {number} */
1053 BookmarkTreeNode.prototype.dateGroupModified; 1053 BookmarkTreeNode.prototype.dateGroupModified;
1054 1054
1055 1055
1056 /** @type {Array.<BookmarkTreeNode>} */ 1056 /** @type {Array<BookmarkTreeNode>} */
1057 BookmarkTreeNode.prototype.children; 1057 BookmarkTreeNode.prototype.children;
1058 1058
1059 1059
1060 1060
1061 /** 1061 /**
1062 * @constructor 1062 * @constructor
1063 */ 1063 */
1064 function Cookie() {} 1064 function Cookie() {}
1065 1065
1066 1066
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1222 chrome.automation.AutomationNode = function() {}; 1222 chrome.automation.AutomationNode = function() {};
1223 1223
1224 1224
1225 /** 1225 /**
1226 * @type {chrome.automation.RoleType} 1226 * @type {chrome.automation.RoleType}
1227 */ 1227 */
1228 chrome.automation.AutomationNode.prototype.role; 1228 chrome.automation.AutomationNode.prototype.role;
1229 1229
1230 1230
1231 /** 1231 /**
1232 * @type {!Object.<chrome.automation.StateType, boolean>} 1232 * @type {!Object<chrome.automation.StateType, boolean>}
1233 */ 1233 */
1234 chrome.automation.AutomationNode.prototype.state; 1234 chrome.automation.AutomationNode.prototype.state;
1235 1235
1236 1236
1237 /** 1237 /**
1238 * @type {number} 1238 * @type {number}
1239 */ 1239 */
1240 chrome.automation.AutomationNode.prototype.indexInParent; 1240 chrome.automation.AutomationNode.prototype.indexInParent;
1241 1241
1242 1242
1243 /** 1243 /**
1244 * @type {{ 1244 * @type {{
1245 * name: string, 1245 * name: string,
1246 * value: string, 1246 * value: string,
1247 * textSelStart: number, 1247 * textSelStart: number,
1248 * textSelEnd: number, 1248 * textSelEnd: number,
1249 * wordStarts: Array.<number>, 1249 * wordStarts: Array<number>,
1250 * wordEnds: Array.<number> 1250 * wordEnds: Array<number>
1251 * }} 1251 * }}
1252 */ 1252 */
1253 chrome.automation.AutomationNode.prototype.attributes; 1253 chrome.automation.AutomationNode.prototype.attributes;
1254 1254
1255 1255
1256 /** 1256 /**
1257 * @type {!chrome.automation.AutomationNode} 1257 * @type {!chrome.automation.AutomationNode}
1258 */ 1258 */
1259 chrome.automation.AutomationNode.prototype.root; 1259 chrome.automation.AutomationNode.prototype.root;
1260 1260
(...skipping 22 matching lines...) Expand all
1283 chrome.automation.AutomationNode.prototype.previousSibling; 1283 chrome.automation.AutomationNode.prototype.previousSibling;
1284 1284
1285 1285
1286 /** 1286 /**
1287 * @type {chrome.automation.AutomationNode} 1287 * @type {chrome.automation.AutomationNode}
1288 */ 1288 */
1289 chrome.automation.AutomationNode.prototype.parent; 1289 chrome.automation.AutomationNode.prototype.parent;
1290 1290
1291 1291
1292 /** 1292 /**
1293 * @type {!Array.<chrome.automation.AutomationNode>} 1293 * @type {!Array<chrome.automation.AutomationNode>}
1294 */ 1294 */
1295 chrome.automation.AutomationNode.prototype.children; 1295 chrome.automation.AutomationNode.prototype.children;
1296 1296
1297 1297
1298 /** 1298 /**
1299 * @type {{top: number, left: number, height: number, width: number}} 1299 * @type {{top: number, left: number, height: number, width: number}}
1300 */ 1300 */
1301 chrome.automation.AutomationNode.prototype.location; 1301 chrome.automation.AutomationNode.prototype.location;
1302 1302
1303 1303
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 pressed: 'pressed', 1538 pressed: 'pressed',
1539 protected: 'protected', 1539 protected: 'protected',
1540 readOnly: 'readOnly', 1540 readOnly: 'readOnly',
1541 required: 'required', 1541 required: 'required',
1542 selectable: 'selectable', 1542 selectable: 'selectable',
1543 selected: 'selected', 1543 selected: 'selected',
1544 vertical: 'vertical', 1544 vertical: 'vertical',
1545 visited: 'visited' 1545 visited: 'visited'
1546 }; 1546 };
1547 // End auto generated externs; do not edit. 1547 // End auto generated externs; do not edit.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698