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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/externs.js

Issue 2603053002: [Devtools] Type externs global namespaces (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/components/JavaScriptAutocomplete.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 /** 732 /**
733 * @extends {ESTree.Node} 733 * @extends {ESTree.Node}
734 * @constructor 734 * @constructor
735 */ 735 */
736 ESTree.TemplateLiteralNode = function() { 736 ESTree.TemplateLiteralNode = function() {
737 /** @type {!Array.<!ESTree.Node>} */ 737 /** @type {!Array.<!ESTree.Node>} */
738 this.quasis; 738 this.quasis;
739 /** @type {!Array.<!ESTree.Node>} */ 739 /** @type {!Array.<!ESTree.Node>} */
740 this.expressions; 740 this.expressions;
741 }; 741 };
742 742 /** @enum {function()} */
dgozman 2016/12/29 23:48:25 !Object
allada 2016/12/30 00:14:19 Done.
743 var Gonzales = {}; 743 var Gonzales = {};
744 var gonzales = { 744 var gonzales = {
745 /** 745 /**
746 * @param {string} text 746 * @param {string} text
747 * @param {!Object=} options 747 * @param {!Object=} options
748 * @return {!Gonzales.Node} 748 * @return {!Gonzales.Node}
749 */ 749 */
750 parse: function(text, options) {}, 750 parse: function(text, options) {},
751 }; 751 };
752 752
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 Terminal.prototype = { 794 Terminal.prototype = {
795 fit: function() {}, 795 fit: function() {},
796 linkify: function() {}, 796 linkify: function() {},
797 /** @param {!Element} element */ 797 /** @param {!Element} element */
798 open: function(element) {}, 798 open: function(element) {},
799 /** @param {string} eventName * @param {!Function} handler */ 799 /** @param {string} eventName * @param {!Function} handler */
800 on: function(eventName, handler) {} 800 on: function(eventName, handler) {}
801 }; 801 };
802 802
803 // Module namespaces. 803 // Module namespaces.
804 /** @type {!Object} */
804 var Accessibility = {}; 805 var Accessibility = {};
806 /** @type {!Object} */
805 var Animation = {}; 807 var Animation = {};
808 /** @type {!Object} */
806 var Audits = {}; 809 var Audits = {};
810 /** @type {!Object} */
807 var Audits2 = {}; 811 var Audits2 = {};
812 /** @type {!Object} */
808 var Audits2Worker = {}; 813 var Audits2Worker = {};
814 /** @type {!Object} */
809 var Bindings = {}; 815 var Bindings = {};
816 /** @type {!Object} */
810 var CmModes = {}; 817 var CmModes = {};
818 /** @type {!Object} */
811 var Common = {}; 819 var Common = {};
820 /** @type {!Object} */
812 var Components = {}; 821 var Components = {};
822 // Closure uses Console as a namespace item so we cannot override it right now.
813 var Console = {}; 823 var Console = {};
824 /** @type {!Object} */
814 var CSSTracker = {}; 825 var CSSTracker = {};
826 /** @type {!Object} */
815 var Devices = {}; 827 var Devices = {};
828 /** @type {!Object} */
816 var Diff = {}; 829 var Diff = {};
830 /** @type {!Object} */
817 var Elements = {}; 831 var Elements = {};
832 /** @type {!Object} */
818 var Emulation = {}; 833 var Emulation = {};
834 /** @type {!Object} */
819 var Extensions = {}; 835 var Extensions = {};
836 /** @type {!Object} */
820 var FormatterWorker = {}; 837 var FormatterWorker = {};
821 var Gonzales = {}; 838 /** @type {!Object} */
822 var HeapSnapshotWorker = {}; 839 var HeapSnapshotWorker = {};
840 /** @type {!Object} */
823 var Host = {}; 841 var Host = {};
842 /** @type {!Object} */
824 var LayerViewer = {}; 843 var LayerViewer = {};
844 /** @type {!Object} */
825 var Layers = {}; 845 var Layers = {};
846 /** @type {!Object} */
826 var Main = {}; 847 var Main = {};
848 /** @type {!Object} */
827 var Network = {}; 849 var Network = {};
850 /** @type {!Object} */
828 var Persistence = {}; 851 var Persistence = {};
852 /** @type {!Object} */
829 var Platform = {}; 853 var Platform = {};
854 /** @type {!Object} */
830 var Profiler = {}; 855 var Profiler = {};
856 /** @type {!Object} */
831 var Resources = {}; 857 var Resources = {};
858 /** @type {!Object} */
832 var Sass = {}; 859 var Sass = {};
860 /** @type {!Object} */
833 var Screencast = {}; 861 var Screencast = {};
862 /** @type {!Object} */
834 var SDK = {}; 863 var SDK = {};
864 /** @type {!Object} */
835 var Security = {}; 865 var Security = {};
866 /** @type {!Object} */
836 var Services = {}; 867 var Services = {};
868 /** @type {!Object} */
837 var Settings = {}; 869 var Settings = {};
870 /** @type {!Object} */
838 var Shell = {}; 871 var Shell = {};
872 /** @type {!Object} */
839 var Snippets = {}; 873 var Snippets = {};
874 /** @type {!Object} */
840 var SourceFrame = {}; 875 var SourceFrame = {};
876 /** @type {!Object} */
841 var Sources = {}; 877 var Sources = {};
842 var Terminal = {}; 878 /** @type {!Object} */
843 var TestRunner = {}; 879 var TestRunner = {};
880 /** @type {!Object} */
844 var TextEditor = {}; 881 var TextEditor = {};
882 /** @type {!Object} */
845 var Timeline = {}; 883 var Timeline = {};
884 /** @type {!Object} */
846 var TimelineModel = {}; 885 var TimelineModel = {};
886 /** @type {!Object} */
847 var ToolboxBootstrap = {}; 887 var ToolboxBootstrap = {};
888 /** @type {!Object} */
848 var UI = {}; 889 var UI = {};
890 /** @type {!Object} */
849 var UtilitySharedWorker = {}; 891 var UtilitySharedWorker = {};
892 /** @type {!Object} */
850 var WorkerService = {}; 893 var WorkerService = {};
894 /** @type {!Object} */
851 var Workspace = {}; 895 var Workspace = {};
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/components/JavaScriptAutocomplete.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698