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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/ReportView.js

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/ui/ReportView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ReportView.js b/third_party/WebKit/Source/devtools/front_end/ui/ReportView.js
index 033e033ad977e74997938cfbc2695d9d69352386..f042f28416e56b90ec15503b53bc1dcc6bc4e6c4 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/ReportView.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ReportView.js
@@ -4,7 +4,7 @@
/**
* @unrestricted
*/
-WebInspector.ReportView = class extends WebInspector.VBox {
+UI.ReportView = class extends UI.VBox {
/**
* @param {string} title
*/
@@ -42,14 +42,14 @@ WebInspector.ReportView = class extends WebInspector.VBox {
this._url = url;
this._urlElement.removeChildren();
if (url)
- this._urlElement.appendChild(WebInspector.linkifyURLAsNode(url));
+ this._urlElement.appendChild(UI.linkifyURLAsNode(url));
}
/**
- * @return {!WebInspector.Toolbar}
+ * @return {!UI.Toolbar}
*/
createToolbar() {
- var toolbar = new WebInspector.Toolbar('');
+ var toolbar = new UI.Toolbar('');
this._headerElement.appendChild(toolbar.element);
return toolbar;
}
@@ -57,10 +57,10 @@ WebInspector.ReportView = class extends WebInspector.VBox {
/**
* @param {string} title
* @param {string=} className
- * @return {!WebInspector.ReportView.Section}
+ * @return {!UI.ReportView.Section}
*/
appendSection(title, className) {
- var section = new WebInspector.ReportView.Section(title, className);
+ var section = new UI.ReportView.Section(title, className);
section.show(this._sectionList);
return section;
}
@@ -73,7 +73,7 @@ WebInspector.ReportView = class extends WebInspector.VBox {
/**
* @unrestricted
*/
-WebInspector.ReportView.Section = class extends WebInspector.VBox {
+UI.ReportView.Section = class extends UI.VBox {
/**
* @param {string} title
* @param {string=} className
@@ -100,10 +100,10 @@ WebInspector.ReportView.Section = class extends WebInspector.VBox {
}
/**
- * @return {!WebInspector.Toolbar}
+ * @return {!UI.Toolbar}
*/
createToolbar() {
- var toolbar = new WebInspector.Toolbar('');
+ var toolbar = new UI.Toolbar('');
this._headerElement.appendChild(toolbar.element);
return toolbar;
}

Powered by Google App Engine
This is Rietveld 408576698