Migrate inspector_main/ to ESM internally
Bug: 1006759
Change-Id: Icd034e732459683a12f6df9383ee704a83ab36c5
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1994966
Commit-Queue: Tim van der Lippe <[email protected]>
Reviewed-by: Paul Lewis <[email protected]>
diff --git a/front_end/inspector_main/InspectorMain.js b/front_end/inspector_main/InspectorMain.js
index 921674c..020c96b 100644
--- a/front_end/inspector_main/InspectorMain.js
+++ b/front_end/inspector_main/InspectorMain.js
@@ -37,7 +37,7 @@
}, Components.TargetDetachedDialog.webSocketConnectionLost);
new SourcesPanelIndicator();
- new InspectorMain.BackendSettingsSync();
+ new BackendSettingsSync();
new MobileThrottling.NetworkPanelIndicator();
Host.InspectorFrontendHost.events.addEventListener(
@@ -204,39 +204,3 @@
}
SDK.ChildTargetManager.install();
-
-/* Legacy exported object */
-self.InspectorMain = self.InspectorMain || {};
-
-/* Legacy exported object */
-InspectorMain = InspectorMain || {};
-
-/**
- * @constructor
- */
-InspectorMain.InspectorMain = InspectorMainImpl;
-
-/**
- * @constructor
- */
-InspectorMain.ReloadActionDelegate = ReloadActionDelegate;
-
-/**
- * @constructor
- */
-InspectorMain.FocusDebuggeeActionDelegate = FocusDebuggeeActionDelegate;
-
-/**
- * @constructor
- */
-InspectorMain.NodeIndicator = NodeIndicator;
-
-/**
- * @constructor
- */
-InspectorMain.SourcesPanelIndicator = SourcesPanelIndicator;
-
-/**
- * @constructor
- */
-InspectorMain.BackendSettingsSync = BackendSettingsSync;