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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/StyleSheetOutlineDialog.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/sources/StyleSheetOutlineDialog.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js b/third_party/WebKit/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js
index 10a297dd9681e09e1344e6b2e81a372e257563f8..83dc4bac8ccd750bb682482411f8c30176dfacd0 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js
@@ -29,27 +29,27 @@
/**
* @unrestricted
*/
-WebInspector.StyleSheetOutlineDialog = class extends WebInspector.FilteredListWidget.Delegate {
+Sources.StyleSheetOutlineDialog = class extends UI.FilteredListWidget.Delegate {
/**
- * @param {!WebInspector.UISourceCode} uiSourceCode
+ * @param {!Workspace.UISourceCode} uiSourceCode
* @param {function(number, number)} selectItemCallback
*/
constructor(uiSourceCode, selectItemCallback) {
super([]);
this._selectItemCallback = selectItemCallback;
- this._cssParser = new WebInspector.CSSParser();
- this._cssParser.addEventListener(WebInspector.CSSParser.Events.RulesParsed, this.refresh.bind(this));
+ this._cssParser = new SDK.CSSParser();
+ this._cssParser.addEventListener(SDK.CSSParser.Events.RulesParsed, this.refresh.bind(this));
this._cssParser.parse(uiSourceCode.workingCopy());
}
/**
- * @param {!WebInspector.UISourceCode} uiSourceCode
+ * @param {!Workspace.UISourceCode} uiSourceCode
* @param {function(number, number)} selectItemCallback
*/
static show(uiSourceCode, selectItemCallback) {
- WebInspector.StyleSheetOutlineDialog._instanceForTests =
- new WebInspector.StyleSheetOutlineDialog(uiSourceCode, selectItemCallback);
- new WebInspector.FilteredListWidget(WebInspector.StyleSheetOutlineDialog._instanceForTests).showAsDialog();
+ Sources.StyleSheetOutlineDialog._instanceForTests =
+ new Sources.StyleSheetOutlineDialog(uiSourceCode, selectItemCallback);
+ new UI.FilteredListWidget(Sources.StyleSheetOutlineDialog._instanceForTests).showAsDialog();
}
/**

Powered by Google App Engine
This is Rietveld 408576698