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

Unified Diff: third_party/WebKit/Source/devtools/front_end/audits/AuditResultView.js

Issue 2217783002: DevTools: use view locations in the elements and sources sidebars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/audits/AuditResultView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/audits/AuditResultView.js b/third_party/WebKit/Source/devtools/front_end/audits/AuditResultView.js
index b496b3bc8649de6c77dd604931d983ccea43b284..23423c98b6d5b071f8b2b7e4ad373af3001be926 100644
--- a/third_party/WebKit/Source/devtools/front_end/audits/AuditResultView.js
+++ b/third_party/WebKit/Source/devtools/front_end/audits/AuditResultView.js
@@ -30,12 +30,12 @@
/**
* @constructor
- * @extends {WebInspector.View}
+ * @extends {WebInspector.SimpleView}
* @param {!WebInspector.AuditCategoryResult} categoryResult
*/
WebInspector.AuditCategoryResultPane = function(categoryResult)
{
- WebInspector.View.call(this, categoryResult.title);
+ WebInspector.SimpleView.call(this, categoryResult.title);
this._treeOutline = new TreeOutlineInShadow();
this._treeOutline.registerRequiredCSS("audits/auditResultTree.css");
this._treeOutline.element.classList.add("audit-result-tree");
@@ -57,7 +57,7 @@ WebInspector.AuditCategoryResultPane = function(categoryResult)
var treeElement = this._appendResult(this._treeOutline.rootElement(), ruleResult, ruleResult.severity);
treeElement.listItemElement.classList.add("audit-result");
}
- this.revealWidget();
+ this.revealView();
}
WebInspector.AuditCategoryResultPane.prototype = {
@@ -105,5 +105,5 @@ WebInspector.AuditCategoryResultPane.prototype = {
return treeElement;
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.SimpleView.prototype
}

Powered by Google App Engine
This is Rietveld 408576698