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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.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/elements/ElementsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js
index 2648624ccf6900788276f8b59e946c23062e7b51..0344456408d0d9839169620a99abc31244effeb9 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js
@@ -4,27 +4,27 @@
/**
* @unrestricted
*/
-WebInspector.ElementsSidebarPane = class extends WebInspector.VBox {
+Elements.ElementsSidebarPane = class extends UI.VBox {
constructor() {
super();
this.element.classList.add('flex-none');
- this._computedStyleModel = new WebInspector.ComputedStyleModel();
+ this._computedStyleModel = new Elements.ComputedStyleModel();
this._computedStyleModel.addEventListener(
- WebInspector.ComputedStyleModel.Events.ComputedStyleChanged, this.onCSSModelChanged, this);
+ Elements.ComputedStyleModel.Events.ComputedStyleChanged, this.onCSSModelChanged, this);
- this._updateThrottler = new WebInspector.Throttler(100);
+ this._updateThrottler = new Common.Throttler(100);
this._updateWhenVisible = false;
}
/**
- * @return {?WebInspector.DOMNode}
+ * @return {?SDK.DOMNode}
*/
node() {
return this._computedStyleModel.node();
}
/**
- * @return {?WebInspector.CSSModel}
+ * @return {?SDK.CSSModel}
*/
cssModel() {
return this._computedStyleModel.cssModel();
@@ -46,7 +46,7 @@ WebInspector.ElementsSidebarPane = class extends WebInspector.VBox {
/**
* @return {!Promise.<?>}
- * @this {WebInspector.ElementsSidebarPane}
+ * @this {Elements.ElementsSidebarPane}
*/
function innerUpdate() {
return this.isShowing() ? this.doUpdate() : Promise.resolve();
@@ -63,7 +63,7 @@ WebInspector.ElementsSidebarPane = class extends WebInspector.VBox {
}
/**
- * @param {!WebInspector.Event} event
+ * @param {!Common.Event} event
*/
onCSSModelChanged(event) {
}

Powered by Google App Engine
This is Rietveld 408576698