1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 * @implements {WebInspector.App}
9 WebInspector
.SimpleApp = function()
13 WebInspector
.SimpleApp
.prototype = {
15 * @param {!Document} document
18 presentUI: function(document
)
20 var rootView
= new WebInspector
.RootView();
21 WebInspector
.inspectorView
.show(rootView
.element
);
22 WebInspector
.inspectorView
.showInitialPanel();
23 rootView
.attachToDocument(document
);
29 * @implements {WebInspector.AppProvider}
31 WebInspector
.SimpleAppProvider = function()
35 WebInspector
.SimpleAppProvider
.prototype = {
38 * @return {!WebInspector.App}
42 return new WebInspector
.SimpleApp();