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

Unified Diff: Source/devtools/front_end/main/App.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/App.js
diff --git a/Source/devtools/front_end/main/App.js b/Source/devtools/front_end/main/App.js
new file mode 100644
index 0000000000000000000000000000000000000000..9a4c7ff1035f4206bce6e7f498921c3dcc714a61
--- /dev/null
+++ b/Source/devtools/front_end/main/App.js
@@ -0,0 +1,45 @@
+// 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
+ */
+WebInspector.App = function()
+{
+};
+
+WebInspector.App.prototype = {
+ createRootView: function()
+ {
+ },
+
+ createGlobalStatusBarItems: function()
+ {
+ },
+
+ presentUI: function()
+ {
+ WebInspector.inspectorView.showInitialPanel();
+
+ WebInspector.overridesSupport.applyInitialOverrides();
+ if (WebInspector.overridesSupport.hasActiveOverrides())
+ WebInspector.inspectorView.showViewInDrawer("emulation", true);
+ },
+
+ appendInspectStatusBarItem: function()
+ {
+ if (WebInspector.inspectElementModeController)
+ WebInspector.inspectorView.appendToLeftToolbar(WebInspector.inspectElementModeController.toggleSearchButton.element);
+ },
+
+ appendSettingsStatusBarItem: function()
+ {
+ WebInspector.inspectorView.appendToRightToolbar(WebInspector.settingsController.statusBarItem);
+ }
+};
+
+/**
+ * @type {!WebInspector.App}
+ */
+WebInspector.app;

Powered by Google App Engine
This is Rietveld 408576698