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

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

Issue 197823010: [DevTools] Add minimum size to WebInspector.View. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@splitdip2
Patch Set: width/height -> right/bottom Created 6 years, 9 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
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 19 matching lines...) Expand all
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("panelEnablerView.css"); 38 this.registerRequiredCSS("panelEnablerView.css");
39 this.registerRequiredCSS("auditsPanel.css"); 39 this.registerRequiredCSS("auditsPanel.css");
40 this.setMainElementConstraints(215);
41 40
42 this.auditsTreeElement = new WebInspector.SidebarSectionTreeElement("", {}, true); 41 this.auditsTreeElement = new WebInspector.SidebarSectionTreeElement("", {}, true);
43 this.sidebarTree.appendChild(this.auditsTreeElement); 42 this.sidebarTree.appendChild(this.auditsTreeElement);
44 this.auditsTreeElement.listItemElement.classList.add("hidden"); 43 this.auditsTreeElement.listItemElement.classList.add("hidden");
45 44
46 this.auditsItemTreeElement = new WebInspector.AuditsSidebarTreeElement(this) ; 45 this.auditsItemTreeElement = new WebInspector.AuditsSidebarTreeElement(this) ;
47 this.auditsTreeElement.appendChild(this.auditsItemTreeElement); 46 this.auditsTreeElement.appendChild(this.auditsItemTreeElement);
48 47
49 this.auditResultsTreeElement = new WebInspector.SidebarSectionTreeElement(We bInspector.UIString("RESULTS"), {}, true); 48 this.auditResultsTreeElement = new WebInspector.SidebarSectionTreeElement(We bInspector.UIString("RESULTS"), {}, true);
50 this.sidebarTree.appendChild(this.auditResultsTreeElement); 49 this.sidebarTree.appendChild(this.auditResultsTreeElement);
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 */ 515 */
517 WebInspector.AuditCategories = {}; 516 WebInspector.AuditCategories = {};
518 517
519 importScript("AuditCategory.js"); 518 importScript("AuditCategory.js");
520 importScript("AuditCategories.js"); 519 importScript("AuditCategories.js");
521 importScript("AuditController.js"); 520 importScript("AuditController.js");
522 importScript("AuditFormatters.js"); 521 importScript("AuditFormatters.js");
523 importScript("AuditLauncherView.js"); 522 importScript("AuditLauncherView.js");
524 importScript("AuditResultView.js"); 523 importScript("AuditResultView.js");
525 importScript("AuditRules.js"); 524 importScript("AuditRules.js");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698