OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
913 | 913 |
914 | 914 |
915 /** | 915 /** |
916 * @constructor | 916 * @constructor |
917 * @extends {WebInspector.SidebarSectionTreeElement} | 917 * @extends {WebInspector.SidebarSectionTreeElement} |
918 * @param {!WebInspector.ProfileType.DataDisplayDelegate} dataDisplayDelegate | 918 * @param {!WebInspector.ProfileType.DataDisplayDelegate} dataDisplayDelegate |
919 * @param {!WebInspector.ProfileType} profileType | 919 * @param {!WebInspector.ProfileType} profileType |
920 */ | 920 */ |
921 WebInspector.ProfileTypeSidebarSection = function(dataDisplayDelegate, profileTy
pe) | 921 WebInspector.ProfileTypeSidebarSection = function(dataDisplayDelegate, profileTy
pe) |
922 { | 922 { |
923 WebInspector.SidebarSectionTreeElement.call(this, profileType.treeItemTitle,
true); | 923 WebInspector.SidebarSectionTreeElement.call(this, profileType.treeItemTitle)
; |
924 this._dataDisplayDelegate = dataDisplayDelegate; | 924 this._dataDisplayDelegate = dataDisplayDelegate; |
925 this._profileTreeElements = []; | 925 this._profileTreeElements = []; |
926 this._profileGroups = {}; | 926 this._profileGroups = {}; |
927 this.hidden = true; | 927 this.hidden = true; |
928 } | 928 } |
929 | 929 |
930 /** | 930 /** |
931 * @constructor | 931 * @constructor |
932 */ | 932 */ |
933 WebInspector.ProfileTypeSidebarSection.ProfileGroup = function() | 933 WebInspector.ProfileTypeSidebarSection.ProfileGroup = function() |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1260 WebInspector.ProfilesPanelFactory.prototype = { | 1260 WebInspector.ProfilesPanelFactory.prototype = { |
1261 /** | 1261 /** |
1262 * @override | 1262 * @override |
1263 * @return {!WebInspector.Panel} | 1263 * @return {!WebInspector.Panel} |
1264 */ | 1264 */ |
1265 createPanel: function() | 1265 createPanel: function() |
1266 { | 1266 { |
1267 return WebInspector.ProfilesPanel._instance(); | 1267 return WebInspector.ProfilesPanel._instance(); |
1268 } | 1268 } |
1269 } | 1269 } |
OLD | NEW |