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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 * @implements {WebInspector.ProfileType.DataDisplayDelegate} | 433 * @implements {WebInspector.ProfileType.DataDisplayDelegate} |
434 * @extends {WebInspector.PanelWithSidebarTree} | 434 * @extends {WebInspector.PanelWithSidebarTree} |
435 */ | 435 */ |
436 WebInspector.ProfilesPanel = function() | 436 WebInspector.ProfilesPanel = function() |
437 { | 437 { |
438 WebInspector.PanelWithSidebarTree.call(this, "profiles"); | 438 WebInspector.PanelWithSidebarTree.call(this, "profiles"); |
439 this.registerRequiredCSS("panelEnablerView.css"); | 439 this.registerRequiredCSS("panelEnablerView.css"); |
440 this.registerRequiredCSS("heapProfiler.css"); | 440 this.registerRequiredCSS("heapProfiler.css"); |
441 this.registerRequiredCSS("profilesPanel.css"); | 441 this.registerRequiredCSS("profilesPanel.css"); |
442 | 442 |
443 this._searchableView = new WebInspector.SearchableView(this); | 443 this._searchableView = new WebInspector.SearchableView(this, false); |
444 | 444 |
445 var mainView = new WebInspector.VBox(); | 445 var mainView = new WebInspector.VBox(); |
446 this._searchableView.show(mainView.element); | 446 this._searchableView.show(mainView.element); |
447 mainView.show(this.mainElement()); | 447 mainView.show(this.mainElement()); |
448 | 448 |
449 this.profilesItemTreeElement = new WebInspector.ProfilesSidebarTreeElement(t
his); | 449 this.profilesItemTreeElement = new WebInspector.ProfilesSidebarTreeElement(t
his); |
450 this.sidebarTree.appendChild(this.profilesItemTreeElement); | 450 this.sidebarTree.appendChild(this.profilesItemTreeElement); |
451 | 451 |
452 this.profileViews = document.createElement("div"); | 452 this.profileViews = document.createElement("div"); |
453 this.profileViews.id = "profile-views"; | 453 this.profileViews.id = "profile-views"; |
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1324 | 1324 |
1325 WebInspector.ProfilesPanelFactory.prototype = { | 1325 WebInspector.ProfilesPanelFactory.prototype = { |
1326 /** | 1326 /** |
1327 * @return {!WebInspector.Panel} | 1327 * @return {!WebInspector.Panel} |
1328 */ | 1328 */ |
1329 createPanel: function() | 1329 createPanel: function() |
1330 { | 1330 { |
1331 return WebInspector.ProfilesPanel._instance(); | 1331 return WebInspector.ProfilesPanel._instance(); |
1332 } | 1332 } |
1333 } | 1333 } |
OLD | NEW |