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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 } | 430 } |
431 | 431 |
432 /** | 432 /** |
433 * @constructor | 433 * @constructor |
434 * @implements {WebInspector.ProfileType.DataDisplayDelegate} | 434 * @implements {WebInspector.ProfileType.DataDisplayDelegate} |
435 * @extends {WebInspector.PanelWithSidebarTree} | 435 * @extends {WebInspector.PanelWithSidebarTree} |
436 */ | 436 */ |
437 WebInspector.ProfilesPanel = function() | 437 WebInspector.ProfilesPanel = function() |
438 { | 438 { |
439 WebInspector.PanelWithSidebarTree.call(this, "profiles"); | 439 WebInspector.PanelWithSidebarTree.call(this, "profiles"); |
440 this.registerRequiredCSS("components/panelEnablerView.css"); | 440 this.registerRequiredCSS("ui/panelEnablerView.css"); |
441 this.registerRequiredCSS("profiler/heapProfiler.css"); | 441 this.registerRequiredCSS("profiler/heapProfiler.css"); |
442 this.registerRequiredCSS("profiler/profilesPanel.css"); | 442 this.registerRequiredCSS("profiler/profilesPanel.css"); |
443 | 443 |
444 var mainView = new WebInspector.VBox(); | 444 var mainView = new WebInspector.VBox(); |
445 mainView.show(this.mainElement()); | 445 mainView.show(this.mainElement()); |
446 | 446 |
447 this.profilesItemTreeElement = new WebInspector.ProfilesSidebarTreeElement(t
his); | 447 this.profilesItemTreeElement = new WebInspector.ProfilesSidebarTreeElement(t
his); |
448 this.sidebarTree.setFocusable(false); | 448 this.sidebarTree.setFocusable(false); |
449 this.sidebarTree.appendChild(this.profilesItemTreeElement); | 449 this.sidebarTree.appendChild(this.profilesItemTreeElement); |
450 | 450 |
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1253 | 1253 |
1254 WebInspector.ProfilesPanelFactory.prototype = { | 1254 WebInspector.ProfilesPanelFactory.prototype = { |
1255 /** | 1255 /** |
1256 * @return {!WebInspector.Panel} | 1256 * @return {!WebInspector.Panel} |
1257 */ | 1257 */ |
1258 createPanel: function() | 1258 createPanel: function() |
1259 { | 1259 { |
1260 return WebInspector.ProfilesPanel._instance(); | 1260 return WebInspector.ProfilesPanel._instance(); |
1261 } | 1261 } |
1262 } | 1262 } |
OLD | NEW |