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

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

Issue 307623003: [DevTools] Apps implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 7 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
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
+};

Powered by Google App Engine
This is Rietveld 408576698