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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4de0bf0509b01f42a6b28f6ffc10d3774df8c59e |
--- /dev/null |
+++ b/Source/devtools/front_end/main/SimpleApp.js |
@@ -0,0 +1,29 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+/** |
+ * @constructor |
+ * @extends {WebInspector.App} |
+ */ |
+WebInspector.SimpleApp = function() |
+{ |
+ WebInspector.App.call(this); |
+}; |
+ |
+WebInspector.SimpleApp.prototype = { |
+ createGlobalStatusBarItems: function() |
+ { |
+ this.appendInspectStatusBarItem(); |
+ this.appendSettingsStatusBarItem(); |
+ }, |
+ |
+ createRootView: function() |
+ { |
+ var rootView = new WebInspector.RootView(); |
+ WebInspector.inspectorView.show(rootView.element); |
+ rootView.attachToBody(); |
+ }, |
+ |
+ __proto__: WebInspector.App.prototype |
+}; |