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

Unified Diff: Source/devtools/front_end/main/SimpleApp.js

Issue 675753002: [DevTools] Drop "ui" module from toolbox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 2 months 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: Source/devtools/front_end/main/SimpleApp.js
diff --git a/Source/devtools/front_end/main/SimpleApp.js b/Source/devtools/front_end/main/SimpleApp.js
index c55a3b2a2a78651800067932759ac9550bb6d911..1a6647165c706eb62f5dc94a43d5bb849af10503 100644
--- a/Source/devtools/front_end/main/SimpleApp.js
+++ b/Source/devtools/front_end/main/SimpleApp.js
@@ -12,12 +12,16 @@ WebInspector.SimpleApp = function()
};
WebInspector.SimpleApp.prototype = {
- presentUI: function()
+ /**
+ * @param {!Document} document
+ * @override
+ */
+ presentUI: function(document)
{
var rootView = new WebInspector.RootView();
WebInspector.inspectorView.show(rootView.element);
WebInspector.inspectorView.showInitialPanel();
- rootView.attachToBody();
+ rootView.attachToDocument(document);
},
__proto__: WebInspector.App.prototype
« no previous file with comments | « Source/devtools/front_end/main/ScreencastApp.js ('k') | Source/devtools/front_end/sources/FilteredItemSelectionDialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698