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

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

Issue 2603053002: [Devtools] Type externs global namespaces (Closed)
Patch Set: Merge branch 'master' into TYPE_EXTERN_GLOBALS 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 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 /** 745 /**
746 * @extends {ESTree.Node} 746 * @extends {ESTree.Node}
747 * @constructor 747 * @constructor
748 */ 748 */
749 ESTree.TemplateLiteralNode = function() { 749 ESTree.TemplateLiteralNode = function() {
750 /** @type {!Array.<!ESTree.Node>} */ 750 /** @type {!Array.<!ESTree.Node>} */
751 this.quasis; 751 this.quasis;
752 /** @type {!Array.<!ESTree.Node>} */ 752 /** @type {!Array.<!ESTree.Node>} */
753 this.expressions; 753 this.expressions;
754 }; 754 };
755 755 /** @type {!Object} */
756 var Gonzales = {}; 756 var Gonzales = {};
757 var gonzales = { 757 var gonzales = {
758 /** 758 /**
759 * @param {string} text 759 * @param {string} text
760 * @param {!Object=} options 760 * @param {!Object=} options
761 * @return {!Gonzales.Node} 761 * @return {!Gonzales.Node}
762 */ 762 */
763 parse: function(text, options) {}, 763 parse: function(text, options) {},
764 }; 764 };
765 765
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 Terminal.prototype = { 807 Terminal.prototype = {
808 fit: function() {}, 808 fit: function() {},
809 linkify: function() {}, 809 linkify: function() {},
810 /** @param {!Element} element */ 810 /** @param {!Element} element */
811 open: function(element) {}, 811 open: function(element) {},
812 /** @param {string} eventName * @param {!Function} handler */ 812 /** @param {string} eventName * @param {!Function} handler */
813 on: function(eventName, handler) {} 813 on: function(eventName, handler) {}
814 }; 814 };
815 815
816 // Module namespaces. 816 // Module namespaces.
817 /** @type {!Object} */
817 var Accessibility = {}; 818 var Accessibility = {};
819 /** @type {!Object} */
818 var Animation = {}; 820 var Animation = {};
821 /** @type {!Object} */
819 var Audits = {}; 822 var Audits = {};
823 /** @type {!Object} */
820 var Audits2 = {}; 824 var Audits2 = {};
825 /** @type {!Object} */
821 var Audits2Worker = {}; 826 var Audits2Worker = {};
827 /** @type {!Object} */
822 var Bindings = {}; 828 var Bindings = {};
829 /** @type {!Object} */
823 var CmModes = {}; 830 var CmModes = {};
831 /** @type {!Object} */
824 var Common = {}; 832 var Common = {};
833 /** @type {!Object} */
825 var Components = {}; 834 var Components = {};
835 // Closure uses Console as a namespace item so we cannot override it right now.
826 var Console = {}; 836 var Console = {};
837 /** @type {!Object} */
827 var CSSTracker = {}; 838 var CSSTracker = {};
839 /** @type {!Object} */
828 var Devices = {}; 840 var Devices = {};
841 /** @type {!Object} */
829 var Diff = {}; 842 var Diff = {};
843 /** @type {!Object} */
830 var Elements = {}; 844 var Elements = {};
845 /** @type {!Object} */
831 var Emulation = {}; 846 var Emulation = {};
847 /** @type {!Object} */
832 var Extensions = {}; 848 var Extensions = {};
849 /** @type {!Object} */
833 var FormatterWorker = {}; 850 var FormatterWorker = {};
834 var Gonzales = {}; 851 /** @type {!Object} */
835 var HeapSnapshotWorker = {}; 852 var HeapSnapshotWorker = {};
853 /** @type {!Object} */
836 var Host = {}; 854 var Host = {};
855 /** @type {!Object} */
837 var LayerViewer = {}; 856 var LayerViewer = {};
857 /** @type {!Object} */
838 var Layers = {}; 858 var Layers = {};
859 /** @type {!Object} */
839 var Main = {}; 860 var Main = {};
861 /** @type {!Object} */
840 var Network = {}; 862 var Network = {};
863 /** @type {!Object} */
841 var Persistence = {}; 864 var Persistence = {};
865 /** @type {!Object} */
842 var Platform = {}; 866 var Platform = {};
867 /** @type {!Object} */
843 var Profiler = {}; 868 var Profiler = {};
869 /** @type {!Object} */
844 var Protocol = {}; 870 var Protocol = {};
871 /** @type {!Object} */
845 var Resources = {}; 872 var Resources = {};
873 /** @type {!Object} */
846 var Sass = {}; 874 var Sass = {};
875 /** @type {!Object} */
847 var Screencast = {}; 876 var Screencast = {};
877 /** @type {!Object} */
848 var SDK = {}; 878 var SDK = {};
879 /** @type {!Object} */
849 var Security = {}; 880 var Security = {};
881 /** @type {!Object} */
850 var Services = {}; 882 var Services = {};
883 /** @type {!Object} */
851 var Settings = {}; 884 var Settings = {};
885 /** @type {!Object} */
852 var Shell = {}; 886 var Shell = {};
887 /** @type {!Object} */
853 var Snippets = {}; 888 var Snippets = {};
889 /** @type {!Object} */
854 var SourceFrame = {}; 890 var SourceFrame = {};
891 /** @type {!Object} */
855 var Sources = {}; 892 var Sources = {};
856 var Terminal = {}; 893 /** @type {!Object} */
857 var TestRunner = {}; 894 var TestRunner = {};
895 /** @type {!Object} */
858 var TextEditor = {}; 896 var TextEditor = {};
897 /** @type {!Object} */
859 var Timeline = {}; 898 var Timeline = {};
899 /** @type {!Object} */
860 var TimelineModel = {}; 900 var TimelineModel = {};
901 /** @type {!Object} */
861 var ToolboxBootstrap = {}; 902 var ToolboxBootstrap = {};
903 /** @type {!Object} */
862 var UI = {}; 904 var UI = {};
905 /** @type {!Object} */
863 var UtilitySharedWorker = {}; 906 var UtilitySharedWorker = {};
907 /** @type {!Object} */
864 var WorkerService = {}; 908 var WorkerService = {};
909 /** @type {!Object} */
865 var Workspace = {}; 910 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