Changeset 52558 in webkit
- Timestamp:
- Dec 25, 2009 6:58:54 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 4 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r52556 r52558 1 2009-12-25 Alexander Pavlov <apavlov@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 AuditsPanel for Web Inspector (hidden, no preset audits). 6 7 https://bugs.webkit.org/show_bug.cgi?id=31665 8 9 * English.lproj/localizedStrings.js: 10 * WebCore.gypi: 11 * WebCore.vcproj/WebCore.vcproj: 12 * inspector/front-end/AuditLauncherView.js: Added. 13 (WebInspector.AuditLauncherView.categorySortFunction): 14 (WebInspector.AuditLauncherView): 15 (WebInspector.AuditLauncherView.prototype.updateResourceTrackingState): 16 (WebInspector.AuditLauncherView.prototype._setAuditRunning): 17 (WebInspector.AuditLauncherView.prototype._launchButtonClicked.profilingFinishedCallback): 18 (WebInspector.AuditLauncherView.prototype._launchButtonClicked): 19 (WebInspector.AuditLauncherView.prototype._selectAllClicked): 20 (WebInspector.AuditLauncherView.prototype._categoryClicked): 21 (WebInspector.AuditLauncherView.prototype._createCategoryElement): 22 (WebInspector.AuditLauncherView.prototype._createLauncherUI): 23 (WebInspector.AuditLauncherView.prototype._updateButton): 24 (WebInspector.AuditLauncherView.prototype.resize): 25 * inspector/front-end/AuditResultView.js: Added. 26 (WebInspector.AuditResultView.entrySortFunction): 27 (WebInspector.AuditResultView): 28 (WebInspector.AuditCategoryResultPane): 29 (WebInspector.AuditRuleResultPane): 30 (WebInspector.AuditRuleResultPane.prototype._decorateRuleResult): 31 (WebInspector.AuditRuleResultChildSection): 32 (WebInspector.AuditRuleResultChildSection.prototype.set title): 33 (WebInspector.AuditRuleResultChildSection.prototype.expand): 34 * inspector/front-end/AuditsPanel.js: Added. 35 (WebInspector.AuditsPanel): 36 (WebInspector.AuditsPanel.prototype.toolbarItemClass.get toolbarItemLabel): 37 (WebInspector.AuditsPanel.prototype.get statusBarItems): 38 (WebInspector.AuditsPanel.prototype.get mainResourceLoadTime): 39 (WebInspector.AuditsPanel.prototype.set mainResourceLoadTime): 40 (WebInspector.AuditsPanel.prototype.get mainResourceDOMContentTime): 41 (WebInspector.AuditsPanel.prototype.set mainResourceDOMContentTime): 42 (WebInspector.AuditsPanel.prototype.get categoriesById): 43 (WebInspector.AuditsPanel.prototype.get visibleView): 44 (WebInspector.AuditsPanel.prototype._constructCategories): 45 (WebInspector.AuditsPanel.prototype._executeAudit.ruleResultReadyCallback): 46 (WebInspector.AuditsPanel.prototype._executeAudit): 47 (WebInspector.AuditsPanel.prototype._auditFinishedCallback): 48 (WebInspector.AuditsPanel.prototype.initiateAudit.initiateAuditCallback): 49 (WebInspector.AuditsPanel.prototype.initiateAudit): 50 (WebInspector.AuditsPanel.prototype._reloadResources): 51 (WebInspector.AuditsPanel.prototype._didMainResourceLoad): 52 (WebInspector.AuditsPanel.prototype.showResults): 53 (WebInspector.AuditsPanel.prototype.showLauncherView): 54 (WebInspector.AuditsPanel.prototype.showView): 55 (WebInspector.AuditsPanel.prototype.show): 56 (WebInspector.AuditsPanel.prototype.attach): 57 (WebInspector.AuditsPanel.prototype.resize): 58 (WebInspector.AuditsPanel.prototype.updateMainViewWidth): 59 (WebInspector.AuditsPanel.prototype._updateLauncherViewControls): 60 (WebInspector.AuditsPanel.prototype._clearButtonClicked): 61 (WebInspector.AuditsPanel.prototype._closeVisibleView): 62 (WebInspector.AuditCategory): 63 (WebInspector.AuditCategory.prototype.get id): 64 (WebInspector.AuditCategory.prototype.get displayName): 65 (WebInspector.AuditCategory.prototype.get ruleCount): 66 (WebInspector.AuditCategory.prototype.addRule): 67 (WebInspector.AuditCategory.prototype.runRules): 68 (WebInspector.AuditRule): 69 (WebInspector.AuditRule.prototype.get id): 70 (WebInspector.AuditRule.prototype.get displayName): 71 (WebInspector.AuditRule.prototype.run): 72 (WebInspector.AuditRule.prototype.doRun): 73 (WebInspector.AuditRule.prototype.getValue): 74 (WebInspector.AuditCategoryResult): 75 (WebInspector.AuditCategoryResult.prototype.addEntry): 76 (WebInspector.AuditRuleResult): 77 (WebInspector.AuditRuleResult.prototype.appendChild): 78 (WebInspector.AuditRuleResult.prototype.set type): 79 (WebInspector.AuditRuleResult.prototype.get type): 80 (WebInspector.AuditsSidebarTreeElement): 81 (WebInspector.AuditsSidebarTreeElement.prototype.onattach): 82 (WebInspector.AuditsSidebarTreeElement.prototype.onselect): 83 (WebInspector.AuditsSidebarTreeElement.prototype.get selectable): 84 (WebInspector.AuditsSidebarTreeElement.prototype.refresh): 85 (WebInspector.AuditResultSidebarTreeElement): 86 (WebInspector.AuditResultSidebarTreeElement.prototype.onselect): 87 (WebInspector.AuditResultSidebarTreeElement.prototype.get selectable): 88 * inspector/front-end/WebKit.qrc: 89 * inspector/front-end/audits.css: Added. 90 * inspector/front-end/inspector.html: 91 * inspector/front-end/inspector.js: 92 (WebInspector._createPanels): 93 (WebInspector.updateResource): 94 1 95 2009-12-25 Pavel Feldman <pfeldman@chromium.org> 2 96 -
trunk/WebCore/WebCore.gypi
r52547 r52558 3647 3647 'inspector/front-end/inspector.html', 3648 3648 'inspector/front-end/AbstractTimelinePanel.js', 3649 'inspector/front-end/AuditLauncherView.js', 3650 'inspector/front-end/AuditResultView.js', 3651 'inspector/front-end/AuditsPanel.js', 3649 3652 'inspector/front-end/BottomUpProfileDataGridTree.js', 3650 3653 'inspector/front-end/Breakpoint.js', … … 3722 3725 'inspector/front-end/View.js', 3723 3726 'inspector/front-end/WatchExpressionsSidebarPane.js', 3727 'inspector/front-end/audits.css', 3724 3728 'inspector/front-end/inspector.css', 3725 3729 'inspector/front-end/inspectorSyntaxHighlight.css', -
trunk/WebCore/WebCore.vcproj/WebCore.vcproj
r52547 r52558 42709 42709 </File> 42710 42710 <File 42711 RelativePath="..\inspector\front-end\AuditLauncherView.js" 42712 > 42713 </File> 42714 <File 42715 RelativePath="..\inspector\front-end\AuditResultView.js" 42716 > 42717 </File> 42718 <File 42719 RelativePath="..\inspector\front-end\audits.css" 42720 > 42721 </File> 42722 <File 42723 RelativePath="..\inspector\front-end\AuditsPanel.js" 42724 > 42725 </File> 42726 <File 42711 42727 RelativePath="..\inspector\front-end\BottomUpProfileDataGridTree.js" 42712 42728 > -
trunk/WebCore/inspector/front-end/WebKit.qrc
r52547 r52558 3 3 <file>inspector.html</file> 4 4 <file>AbstractTimelinePanel.js</file> 5 <file>AuditLauncherView.js</file> 6 <file>AuditResultView.js</file> 7 <file>AuditsPanel.js</file> 5 8 <file>BottomUpProfileDataGridTree.js</file> 6 9 <file>Breakpoint.js</file> … … 78 81 <file>View.js</file> 79 82 <file>WatchExpressionsSidebarPane.js</file> 83 <file>audits.css</file> 80 84 <file>inspector.css</file> 81 85 <file>inspectorSyntaxHighlight.css</file> -
trunk/WebCore/inspector/front-end/inspector.html
r52547 r52558 30 30 <head> 31 31 <meta http-equiv="content-type" content="text/html; charset=utf-8"> 32 <link rel="stylesheet" type="text/css" href="audits.css"> 32 33 <link rel="stylesheet" type="text/css" href="inspector.css"> 33 34 <link rel="stylesheet" type="text/css" href="inspectorSyntaxHighlight.css"> … … 86 87 <script type="text/javascript" src="ProfilesPanel.js"></script> 87 88 <script type="text/javascript" src="ConsolePanel.js"></script> 89 <script type="text/javascript" src="AuditsPanel.js"></script> 90 <script type="text/javascript" src="AuditResultView.js"></script> 91 <script type="text/javascript" src="AuditLauncherView.js"></script> 88 92 <script type="text/javascript" src="ResourceView.js"></script> 89 93 <script type="text/javascript" src="SourceFrame.js"></script> -
trunk/WebCore/inspector/front-end/inspector.js
r52556 r52558 178 178 if (hiddenPanels.indexOf("storage") === -1 && hiddenPanels.indexOf("databases") === -1) 179 179 this.panels.storage = new WebInspector.StoragePanel(); 180 181 // FIXME: Uncomment when ready. 182 // if (hiddenPanels.indexOf("audits") === -1) 183 // this.panels.audits = new WebInspector.AuditsPanel(); 184 180 185 if (hiddenPanels.indexOf("console") === -1) 181 186 this.panels.console = new WebInspector.ConsolePanel(); … … 968 973 969 974 if (payload.didRequestChange) { 970 resource. host = payload.domain;975 resource.domain = payload.host; 971 976 resource.path = payload.path; 972 977 resource.lastPathComponent = payload.lastPathComponent; … … 1022 1027 if (this.panels.resources) 1023 1028 this.panels.resources.mainResourceLoadTime = payload.loadEventTime; 1029 if (this.panels.audits) 1030 this.panels.audits.mainResourceLoadTime = payload.loadEventTime; 1024 1031 } 1025 1032 … … 1029 1036 if (this.panels.resources) 1030 1037 this.panels.resources.mainResourceDOMContentTime = payload.domContentEventTime; 1038 if (this.panels.audits) 1039 this.panels.audits.mainResourceDOMContentTime = payload.domContentEventTime; 1031 1040 } 1032 1041 }
Note: See TracChangeset
for help on using the changeset viewer.