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

Side by Side Diff: Source/devtools/front_end/audits/AuditsPanel.js

Issue 714423005: DevTools: move front-end files from components to ui. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comment addressed Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/components/FilterBar.js » ('j') | 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 /** 31 /**
32 * @constructor 32 * @constructor
33 * @extends {WebInspector.PanelWithSidebarTree} 33 * @extends {WebInspector.PanelWithSidebarTree}
34 */ 34 */
35 WebInspector.AuditsPanel = function() 35 WebInspector.AuditsPanel = function()
36 { 36 {
37 WebInspector.PanelWithSidebarTree.call(this, "audits"); 37 WebInspector.PanelWithSidebarTree.call(this, "audits");
38 this.registerRequiredCSS("components/panelEnablerView.css"); 38 this.registerRequiredCSS("ui/panelEnablerView.css");
39 this.registerRequiredCSS("audits/auditsPanel.css"); 39 this.registerRequiredCSS("audits/auditsPanel.css");
40 40
41 this.auditsTreeElement = new WebInspector.SidebarSectionTreeElement("", {}, true); 41 this.auditsTreeElement = new WebInspector.SidebarSectionTreeElement("", {}, true);
42 this.sidebarTree.appendChild(this.auditsTreeElement); 42 this.sidebarTree.appendChild(this.auditsTreeElement);
43 this.auditsTreeElement.listItemElement.classList.add("hidden"); 43 this.auditsTreeElement.listItemElement.classList.add("hidden");
44 44
45 this.auditsItemTreeElement = new WebInspector.AuditsSidebarTreeElement(this) ; 45 this.auditsItemTreeElement = new WebInspector.AuditsSidebarTreeElement(this) ;
46 this.auditsTreeElement.appendChild(this.auditsItemTreeElement); 46 this.auditsTreeElement.appendChild(this.auditsItemTreeElement);
47 47
48 this.auditResultsTreeElement = new WebInspector.SidebarSectionTreeElement(We bInspector.UIString("RESULTS"), {}, true); 48 this.auditResultsTreeElement = new WebInspector.SidebarSectionTreeElement(We bInspector.UIString("RESULTS"), {}, true);
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 } 568 }
569 569
570 // Contributed audit rules should go into this namespace. 570 // Contributed audit rules should go into this namespace.
571 WebInspector.AuditRules = {}; 571 WebInspector.AuditRules = {};
572 572
573 /** 573 /**
574 * Contributed audit categories should go into this namespace. 574 * Contributed audit categories should go into this namespace.
575 * @type {!Object.<string, function(new:WebInspector.AuditCategory)>} 575 * @type {!Object.<string, function(new:WebInspector.AuditCategory)>}
576 */ 576 */
577 WebInspector.AuditCategories = {}; 577 WebInspector.AuditCategories = {};
OLDNEW
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/components/FilterBar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698