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

Unified Diff: third_party/WebKit/Source/devtools/front_end/main/SimpleApp.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/main/SimpleApp.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/SimpleApp.js b/third_party/WebKit/Source/devtools/front_end/main/SimpleApp.js
index 9488a3434b329e0c7e24a2854232afd2353d99ca..0fe00c16c731bd335aaf9a7bffacfe9c0fddea7d 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/SimpleApp.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/SimpleApp.js
@@ -2,31 +2,31 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
- * @implements {WebInspector.App}
+ * @implements {Common.App}
* @unrestricted
*/
-WebInspector.SimpleApp = class {
+Main.SimpleApp = class {
/**
* @override
* @param {!Document} document
*/
presentUI(document) {
- var rootView = new WebInspector.RootView();
- WebInspector.inspectorView.show(rootView.element);
+ var rootView = new UI.RootView();
+ UI.inspectorView.show(rootView.element);
rootView.attachToDocument(document);
}
};
/**
- * @implements {WebInspector.AppProvider}
+ * @implements {Common.AppProvider}
* @unrestricted
*/
-WebInspector.SimpleAppProvider = class {
+Main.SimpleAppProvider = class {
/**
* @override
- * @return {!WebInspector.App}
+ * @return {!Common.App}
*/
createApp() {
- return new WebInspector.SimpleApp();
+ return new Main.SimpleApp();
}
};

Powered by Google App Engine
This is Rietveld 408576698